Track states of lights in state machine.
This commit is contained in:
1 parent
356f49bcef
commit
28a6400d89
3 files changed
+71
-34
No files matched your search
@@ -92,7 +92,7 @@ def from_config_file(config_path):
|
||||
|
||||
# Light trigger
|
||||
if light_control:
|
||||
actors.setup_light_control_services(bus, light_control)
|
||||
observers.setup_light_control_services(bus, statemachine, light_control)
|
||||
|
||||
actors.LightTrigger(bus, statemachine,
|
||||
device_tracker, light_control)
|
||||
|
||||
Reference in new issue
Block a user