mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Download dir now taken from config
This commit is contained in:
parent
32b357f5e1
commit
a58319aebd
@ -9,8 +9,8 @@ username=admin
|
|||||||
password=PASSWORD
|
password=PASSWORD
|
||||||
http_id=aaaaaaaaaaaaaaa
|
http_id=aaaaaaaaaaaaaaa
|
||||||
|
|
||||||
[hue]
|
|
||||||
host=192.168.1.107
|
|
||||||
|
|
||||||
[chromecast]
|
[chromecast]
|
||||||
host=192.168.1.120
|
host=192.168.1.120
|
||||||
|
|
||||||
|
[downloader]
|
||||||
|
download_dir=downloads
|
2
start.py
2
start.py
@ -33,7 +33,7 @@ actors.LightTrigger(eventbus, statemachine,
|
|||||||
devicetracker, actors.HueLightControl())
|
devicetracker, actors.HueLightControl())
|
||||||
|
|
||||||
actors.setup_chromecast(eventbus, config.get("chromecast", "host"))
|
actors.setup_chromecast(eventbus, config.get("chromecast", "host"))
|
||||||
actors.setup_file_downloader(eventbus, "downloads")
|
actors.setup_file_downloader(eventbus, config.get("downloader", "download_dir"))
|
||||||
actors.setup_webbrowser(eventbus)
|
actors.setup_webbrowser(eventbus)
|
||||||
|
|
||||||
# Init HTTP interface
|
# Init HTTP interface
|
||||||
|
Loading…
x
Reference in New Issue
Block a user