Skip to content

NVR with realtime local object detection for IP cameras

Fix go2rtc homeassistant config dir (#18017)

Felipe Santos27d3be0356f9
diff --git a/docker/main/rootfs/usr/local/go2rtc/create_config.py b/docker/main/rootfs/usr/local/go2rtc/create_config.py
index dc136b6118..21da66f3e7 100644
--- a/docker/main/rootfs/usr/local/go2rtc/create_config.py
+++ b/docker/main/rootfs/usr/local/go2rtc/create_config.py
@@ -53,7 +53,7 @@ elif go2rtc_config["api"].get("origin") is None:
# Need to set default location for HA config
if go2rtc_config.get("hass") is None:
- go2rtc_config["hass"] = {"config": "/config"}
+ go2rtc_config["hass"] = {"config": "/homeassistant"}
# we want to ensure that logs are easy to read
if go2rtc_config.get("log") is None: