Skip to content

Commit

Permalink
Set a room's climate_type for BNTH device
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Peijnik-Steinwender <speijnik@gmail.com>
  • Loading branch information
speijnik authored and jabesq committed Jun 18, 2024
1 parent 2938695 commit 5ee6668
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pyatmo/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ def evaluate_device_type(self) -> None:
elif "BNS" in self.device_types:
self.climate_type = DeviceType.BNS
self.features.add("humidity")
elif "BNTH" in self.device_types:
self.climate_type = DeviceType.BNTH

def update(self, raw_data: RawData) -> None:
"""Update room data."""
Expand Down

0 comments on commit 5ee6668

Please sign in to comment.