We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b128a0 commit 0663348Copy full SHA for 0663348
plugwise_usb/nodes/circle_plus.py
@@ -81,7 +81,8 @@ async def clock_synchronize(self) -> bool:
81
dt_now = datetime.now(tz=UTC)
82
days_diff = response.day_of_week.value - dt_now.weekday()
83
circle_plus_ts: datetime = dt_now.replace(
84
- hour=response.time.value.hour + (24 * days_diff),
+ day=dt_now.day - days_diff,
85
+ hour=response.time.value.hour,
86
minute=response.time.value.minute,
87
second=response.time.value.second,
88
microsecond=0,
0 commit comments