Skip to content

Commit 84855c1

Browse files
authored
Merge pull request #43 from plugwise/zone-anna
Anna-model can be Zone Thermostat
2 parents 6d28283 + 6d70580 commit 84855c1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

plugwise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Plugwise module."""
22

3-
__version__ = "0.8.2a5"
3+
__version__ = "0.8.2a6"
44

55
from plugwise.smile import Smile
66
from plugwise.stick import stick

plugwise/smile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,9 @@ def get_all_devices(self):
654654
if appliance in thermo_locations[loc_id]["slaves"]:
655655
details["class"] = "thermo_sensor"
656656

657+
if details["name"] == "Anna" and not self.single_master_thermostat():
658+
details["model"] = "Zone Thermostat"
659+
657660
devices[appliance] = details
658661

659662
group_data = self.get_group_switches()

0 commit comments

Comments
 (0)