mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 13:27:09 +00:00
13 lines
344 B
Python
13 lines
344 B
Python
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_light_trigger(HueLightControl(ha.get_config()))
|
|
ha.setup_http_interface()
|
|
|
|
ha.start()
|