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 fef20e3 commit a7aaf16Copy full SHA for a7aaf16
src/pymelcloud/ata_device.py
@@ -207,6 +207,13 @@ def room_temperature(self) -> Optional[float]:
207
return None
208
return self._state.get("RoomTemperature")
209
210
+ @property
211
+ def has_outdoor_temperature(self) -> bool:
212
+ """Return True if the device has an outdoor temperature sensor."""
213
+ if self._device_conf.get("HideOutdoorTemperature", False):
214
+ return False
215
+ return self._device_conf.get("Device", {}).get("HasOutdoorTemperature", False):
216
+
217
@property
218
def outdoor_temperature(self) -> Optional[float]:
219
"""Return outdoor temperature reported by the device."""
0 commit comments