Track states of lights in state machine.
This commit is contained in:
parent
356f49bcef
commit
28a6400d89
3 changed files with 71 additions and 34 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue