Skip to content

Commit 80c38bd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5d44536 commit 80c38bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugwise/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,9 @@ async def async_update(self) -> PlugwiseData:
529529
"""Perform an incremental update for updating the various device states."""
530530
# Perform a full update at day-change
531531
day_number = dt.datetime.now().strftime("%w")
532-
if day_number != self._previous_day_number: # pylint: disable=consider-using-assignment-expr
532+
if (
533+
day_number != self._previous_day_number
534+
): # pylint: disable=consider-using-assignment-expr
533535
LOGGER.debug(
534536
"Performing daily full-update, reload the Plugwise integration when a single entity becomes unavailable."
535537
)

0 commit comments

Comments
 (0)