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 b3a0192 commit cc373b8Copy full SHA for cc373b8
plugwise_usb/nodes/circle_plus.py
@@ -79,6 +79,8 @@ async def clock_synchronize(self) -> bool:
79
await self._available_update_state(True, response.timestamp)
80
81
dt_now = datetime.now(tz=UTC)
82
+ _LOGGER.debug("HOI dt_now weekday=%s", dt_now.weekday())
83
+ _LOGGER.debug("HOI circle+ day_of_week=%s", response.day_of_week.value)
84
days_diff = response.day_of_week.value - dt_now.weekday()
85
circle_plus_timestamp: datetime = dt_now.replace(
86
day=dt_now.day - days_diff,
0 commit comments