mirror of
https://github.com/home-assistant/core.git
synced 2025-12-22 20:09:35 +00:00
12 lines
257 B
Python
12 lines
257 B
Python
from app.HomeAssistant import HomeAssistant
|
|
|
|
from app.observer.TomatoDeviceScanner import TomatoDeviceScanner
|
|
|
|
ha = HomeAssistant()
|
|
|
|
ha.setup_weather_watcher()
|
|
ha.setup_device_tracker(TomatoDeviceScanner(ha.get_config()))
|
|
ha.setup_hue_trigger()
|
|
|
|
ha.start()
|