From 7c12a31d91cbb7c95908d821f63e6909670009b6 Mon Sep 17 00:00:00 2001 From: surian Date: Sun, 21 Jun 2026 17:48:37 +0200 Subject: [PATCH] fix: ignore devices using overkiz api --- custom_components/cozytouch/hub.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custom_components/cozytouch/hub.py b/custom_components/cozytouch/hub.py index cacbc94..d1694a8 100644 --- a/custom_components/cozytouch/hub.py +++ b/custom_components/cozytouch/hub.py @@ -224,6 +224,9 @@ def update_devices_from_json_data(self, json_data) -> None: # Create new devices deviceIndex = -1 for remote_device in json_data[0]["devices"]: + if remote_device.get("deviceUrl", "").startswith("io://"): + continue + deviceIndex = -1 for i, local_device in enumerate(self._devices): if remote_device["deviceId"] == local_device["deviceId"]: