mirror of
https://github.com/no2chem/wideq.git
synced 2025-05-18 08:10:17 -07:00
Expose horizontal and vertical swing properties in AC state
This commit is contained in:
parent
15855f09fa
commit
6ec66e4e9a
@ -294,6 +294,14 @@ class ACStatus(object):
|
|||||||
def fan_speed(self):
|
def fan_speed(self):
|
||||||
return ACFanSpeed(self.lookup_enum('WindStrength'))
|
return ACFanSpeed(self.lookup_enum('WindStrength'))
|
||||||
|
|
||||||
|
@property
|
||||||
|
def horz_swing(self):
|
||||||
|
return ACHSwingMode(self.lookup_enum('WDirHStep'))
|
||||||
|
|
||||||
|
@property
|
||||||
|
def vert_swing(self):
|
||||||
|
return ACVSwingMode(self.lookup_enum('WDirVStep'))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_on(self):
|
def is_on(self):
|
||||||
op = ACOp(self.lookup_enum('Operation'))
|
op = ACOp(self.lookup_enum('Operation'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user