Skip to content

Commit 02e438a

Browse files
committed
CR: unify publishing self.motion_config in all places
1 parent 0222d29 commit 02e438a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise_usb/nodes/scan.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ async def _run_awake_tasks(self) -> None:
430430
await self._scan_calibrate_light()
431431
await self.publish_feature_update_to_subscribers(
432432
NodeFeature.MOTION_CONFIG,
433-
self._motion_config,
433+
self.motion_config,
434434
)
435435

436436
async def _configure_scan_task(self) -> bool:
@@ -477,7 +477,7 @@ async def _scan_configure_update(self) -> None:
477477
await gather(
478478
self.publish_feature_update_to_subscribers(
479479
NodeFeature.MOTION_CONFIG,
480-
self._motion_config,
480+
self.motion_config,
481481
),
482482
self.save_cache(),
483483
)

0 commit comments

Comments
 (0)