Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions custom_components/cozytouch/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]:
Expand Down