From 084bc5ba1ce29a97385fed9fcf5695c5ad112c7d Mon Sep 17 00:00:00 2001 From: Horlabs Date: Sat, 5 Feb 2022 15:45:53 +0100 Subject: [PATCH] Fix link to HA --- fritz_temp_sync/sync_ha_fb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fritz_temp_sync/sync_ha_fb.py b/fritz_temp_sync/sync_ha_fb.py index 17e6474..3931c56 100755 --- a/fritz_temp_sync/sync_ha_fb.py +++ b/fritz_temp_sync/sync_ha_fb.py @@ -91,7 +91,7 @@ logging.debug(config) loop = asyncio.get_event_loop() fb = FritzBox(config["fritzbox"]["url"], config["fritzbox"]["password"], config["update_timeout"], dry_run=False) -supervisor_url = "ws://192.168.124.187:8123/api/websocket" +supervisor_url = "ws://supervisor/core/websocket" ha = HomeAssistantAPI(os.environ["SUPERVISOR_TOKEN"], supervisor_url) for mapping in config["mappings"]: