File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -500,14 +500,14 @@ async def _awake_response(self, response: PlugwiseResponse) -> bool:
500500 raise MessageError (
501501 f"Invalid response message type ({ response .__class__ .__name__ } ) received, expected NodeAwakeResponse"
502502 )
503+
503504 _LOGGER .debug ("Device %s is awake for %s" , self .name , response .awake_type )
504505 self ._set_cache (CACHE_AWAKE_TIMESTAMP , response .timestamp )
505506 await self ._available_update_state (True , response .timestamp )
506507
507508 # Pre populate the last awake timestamp
508509 if self ._last_awake .get (response .awake_type ) is None :
509510 self ._last_awake [response .awake_type ] = response .timestamp
510-
511511 # Skip awake messages when they are shortly after each other
512512 elif (
513513 self ._last_awake [response .awake_type ] + timedelta (seconds = AWAKE_RETRY )
You can’t perform that action at this time.
0 commit comments