We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6edba7f commit f96b5efCopy full SHA for f96b5ef
plugwise/__init__.py
@@ -86,9 +86,11 @@ def __init__(
86
self.smile_zigbee_mac_address: str | None = None
87
88
@property
89
- def cooling_present(self) -> str:
+ def cooling_present(self) -> str | None:
90
"""Return the cooling capability."""
91
- return self._smile_props["cooling_present"]
+ if "cooling_present" in self._smile_props:
92
+ return self._smile_props["cooling_present"]
93
+ return None
94
95
96
def gateway_id(self) -> str:
0 commit comments