Code cleanup and reorg
This commit is contained in:
1 parent
ec0ca6ac38
commit
a68704750b
13 files changed
+269
-185
No files matched your search
@@ -1,11 +1,12 @@
|
||||
from app.HomeAssistant import HomeAssistant
|
||||
|
||||
from app.actor.HueLightControl import HueLightControl
|
||||
from app.observer.TomatoDeviceScanner import TomatoDeviceScanner
|
||||
|
||||
ha = HomeAssistant()
|
||||
|
||||
ha.setup_device_tracker(TomatoDeviceScanner(ha.get_config()))
|
||||
ha.setup_hue_trigger()
|
||||
ha.setup_light_trigger(HueLightControl(ha.get_config()))
|
||||
ha.setup_http_interface()
|
||||
|
||||
ha.start()
|
||||
Reference in new issue
Block a user