Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <>
  • Loading branch information
Jan N. Klug committed Nov 2, 2023
1 parent ea45e29 commit de5b315
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static HttpCookie mapCookie(CookieTO cookie, String domain) {
if (isNotBlank(notification.recurringPattern) && alarmTime.isBefore(now)) {
return null;
}
} else if ("Timer".equals(notification.type)) {
} else if ("Timer".equals(notification.type) && notification.remainingTime > 0) {
alarmTime = requestTime.plus(notification.remainingTime, ChronoUnit.MILLIS);
} else {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.smarthomej.binding.amazonechocontrol.internal.types;
Expand Down

0 comments on commit de5b315

Please sign in to comment.