Lights now fully controlled via statemachine and services

This commit is contained in:
Paulus Schoutsen committed 2013-12-09 23:41:44 -08:00
1 parent 28a6400d89
commit aedcaf04a4
3 files changed
+198 -117

No files matched your search

+3 -5
View File
@@ -92,12 +92,10 @@ def from_config_file(config_path):
# Light trigger
if light_control:
observers.setup_light_control_services(bus, statemachine, light_control)
observers.setup_light_control(bus, statemachine, light_control)
actors.LightTrigger(bus, statemachine,
device_tracker, light_control)
statusses.append(("Light Trigger", True))
statusses.append(("Light Trigger", actors.setup_device_light_triggers(
bus, statemachine, device_tracker.device_state_categories)))
if config.has_option("downloader", "download_dir"):
result = actors.setup_file_downloader(