1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Code cleanup and reorg

This commit is contained in:
Paulus Schoutsen
2013-09-21 17:59:31 -07:00
parent ec0ca6ac38
commit a68704750b
13 changed files with 269 additions and 185 deletions

View File

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