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 5d44536 commit 80c38bdCopy full SHA for 80c38bd
plugwise/__init__.py
@@ -529,7 +529,9 @@ async def async_update(self) -> PlugwiseData:
529
"""Perform an incremental update for updating the various device states."""
530
# Perform a full update at day-change
531
day_number = dt.datetime.now().strftime("%w")
532
- if day_number != self._previous_day_number: # pylint: disable=consider-using-assignment-expr
+ if (
533
+ day_number != self._previous_day_number
534
+ ): # pylint: disable=consider-using-assignment-expr
535
LOGGER.debug(
536
"Performing daily full-update, reload the Plugwise integration when a single entity becomes unavailable."
537
)
0 commit comments