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 2cd5de1 commit a2eab99Copy full SHA for a2eab99
src/pymelcloud/ata_device.py
@@ -207,6 +207,16 @@ def room_temperature(self) -> Optional[float]:
207
return None
208
return self._state.get("RoomTemperature")
209
210
+ @property
211
+ def outdoor_temperature(self) -> Optional[float]:
212
+ """Return outdoor temperature reported by the device."""
213
+ if self._device_conf.get("HideOutdoorTemperature", False):
214
+ return None
215
+ device = self._device_conf.get("Device", {})
216
+ if not device.get("HasOutdoorTemperature", False):
217
218
+ return device.get("OutdoorTemperature")
219
+
220
@property
221
def target_temperature(self) -> Optional[float]:
222
"""Return target temperature set for the device."""
0 commit comments