Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit a865d56

Browse files
gjdvarska
authored andcommitted
added humidity as property, updated comments
1 parent f7f1c06 commit a865d56

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

daikinapi.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def price_int(self):
363363
def compressor_frequency(self):
364364
"""
365365
compressor frequency/power
366-
:return:
366+
:return: The outside compressor load, normally between 12 to 84 max
367367
"""
368368
return int(self._get_sensor()["cmpfreq"])
369369

@@ -375,6 +375,14 @@ def inside_temperature(self):
375375
"""
376376
return float(self._get_sensor()["htemp"])
377377

378+
@property
379+
def inside_humidity(self):
380+
"""
381+
inside relative humidity
382+
:return: percent
383+
"""
384+
return float(self._get_sensor()["hhum"])
385+
378386
@property
379387
def outside_temperature(self):
380388
"""

0 commit comments

Comments
 (0)