Skip to content

Commit a160338

Browse files
committed
Add pylint disable
1 parent 3a2ed5c commit a160338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ 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
new = dt.datetime.now().strftime("%w")
532-
if new != self._previous:
532+
if new != self._previous: # pylint: disable=consider-using-assignment-expr
533533
LOGGER.debug(
534534
"Performing daily full-update, reload the Plugwise integration when a single entity becomes unavailable."
535535
)

0 commit comments

Comments
 (0)