Track states of lights in state machine.

This commit is contained in:
Paulus Schoutsen 2013-12-07 12:57:27 -08:00
parent 356f49bcef
commit 28a6400d89
3 changed files with 71 additions and 34 deletions

View file

@ -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)