Skip to content

Commit de583bf

Browse files
committed
Add manufacturer and model for zone and switchgroup
1 parent 45a7e78 commit de583bf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

plugwise/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ def _get_group_switches(self) -> dict[str, GwEntityData]:
262262
"model": "Switchgroup",
263263
"name": group_name,
264264
"members": members,
265+
"vendor": "Plugwise",
265266
}
266267
self._count += 4
267268

plugwise/helper.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,8 +863,10 @@ def _scan_thermostats(self) -> None:
863863
if loc_data["primary_prio"] != 0:
864864
self._zones[loc_id] = {
865865
"dev_class": "climate",
866+
"model": "ThermoZone",
866867
"name": loc_data["name"],
867-
"thermostats": {"primary": loc_data["primary"], "secondary": loc_data["secondary"]}
868+
"thermostats": {"primary": loc_data["primary"], "secondary": loc_data["secondary"]},
869+
"vendor": "Plugwise",
868870
}
869871
self._count += 3
870872

0 commit comments

Comments
 (0)