Skip to content

Commit

Permalink
[awattar] Fix price handler refresh (openhab#17032)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <[email protected]>
  • Loading branch information
J-N-K authored and joni1993 committed Oct 15, 2024
1 parent 4f54151 commit ec448e8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ public void initialize() {
* here
*/
thingRefresher = scheduler.scheduleAtFixedRate(this::refreshChannels,
getMillisToNextMinute(1, timeZoneProvider), THING_REFRESH_INTERVAL, TimeUnit.SECONDS);
getMillisToNextMinute(1, timeZoneProvider), THING_REFRESH_INTERVAL * 1000,
TimeUnit.MILLISECONDS);
}
}
updateStatus(ThingStatus.UNKNOWN);
Expand Down

0 comments on commit ec448e8

Please sign in to comment.