Skip to content

Commit f80a8ce

Browse files
committed
Fix Yandex thermostat YNDX-00518 #744
1 parent b390f4f commit f80a8ce

File tree

1 file changed

+2
-0
lines changed
  • custom_components/yandex_station/core

1 file changed

+2
-0
lines changed

custom_components/yandex_station/core/entity.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ def extract_instance(item: dict) -> str:
1414
return "on"
1515
if item["type"] == "devices.capabilities.lock":
1616
return "lock"
17+
if item["type"] == "devices.capabilities.zigbee_node":
18+
return "zigbee"
1719
return item["parameters"].get("instance")
1820

1921

0 commit comments

Comments
 (0)