Skip to content

Commit 1225a1a

Browse files
committed
Set init for cache_updated bool
1 parent 4950318 commit 1225a1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,7 @@ async def energy_log_update(
594594
# Forward historical energy log information to energy counters
595595
# Each response message contains 4 log counters (slots) of the
596596
# energy pulses collected during the previous hour of given timestamp
597+
cache_updated = False
597598
for _slot in range(4, 0, -1):
598599
log_timestamp, log_pulses = response.log_data[_slot]
599600
_LOGGER.debug(

0 commit comments

Comments
 (0)