mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-02-05 00:15:51 +01:00
Add default hass location (#7549)
This commit is contained in:
parent
77cb469430
commit
737681aa4f
@ -39,6 +39,10 @@ if go2rtc_config.get("api") is None:
|
|||||||
elif go2rtc_config["api"].get("origin") is None:
|
elif go2rtc_config["api"].get("origin") is None:
|
||||||
go2rtc_config["api"]["origin"] = "*"
|
go2rtc_config["api"]["origin"] = "*"
|
||||||
|
|
||||||
|
# Need to set default location for HA config
|
||||||
|
if go2rtc_config.get("hass") is None:
|
||||||
|
go2rtc_config["hass"] = {"config": "/config"}
|
||||||
|
|
||||||
# we want to ensure that logs are easy to read
|
# we want to ensure that logs are easy to read
|
||||||
if go2rtc_config.get("log") is None:
|
if go2rtc_config.get("log") is None:
|
||||||
go2rtc_config["log"] = {"format": "text"}
|
go2rtc_config["log"] = {"format": "text"}
|
||||||
|
Loading…
Reference in New Issue
Block a user