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 644b0bd commit 382026aCopy full SHA for 382026a
plugwise_usb/nodes/sed.py
@@ -522,6 +522,7 @@ async def _awake_response(self, response: PlugwiseResponse) -> bool:
522
NodeFeature.BATTERY,
523
self._battery_config,
524
),
525
+ self.save_cache(),
526
]
527
self._delayed_task = self._loop.create_task(
528
self._send_tasks(), name=f"Delayed update for {self._mac_in_str}"
@@ -550,7 +551,6 @@ async def _awake_response(self, response: PlugwiseResponse) -> bool:
550
551
tasks.append(self.update_ping_at_awake())
552
553
await gather(*tasks)
- await self.save_cache()
554
return True
555
556
async def update_ping_at_awake(self) -> None:
0 commit comments