Skip to content

Commit 161099a

Browse files
committed
CR: avoid double publishing of SENSE_HYSTERESIS on success
1 parent 63f61d9 commit 161099a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugwise_usb/nodes/sense.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ async def _run_awake_tasks(self) -> None:
644644
if all(configure_result):
645645
self._hysteresis_config = replace(self._hysteresis_config, dirty=False)
646646
await self._sense_configure_update()
647+
return
647648
else:
648649
_LOGGER.warning(
649650
"Sense hysteresis configuration partially failed for %s "

0 commit comments

Comments
 (0)