mirror of
https://github.com/no2chem/wideq.git
synced 2025-05-27 20:40:18 -07:00
Merge pull request #40 from fabiomsouto/master
Expose horizontal swing and vertical swing properties in AC state
This commit is contained in:
commit
4e54149a41
@ -4,4 +4,4 @@ from .core import * # noqa
|
||||
from .client import * # noqa
|
||||
from .ac import * # noqa
|
||||
|
||||
__version__ = '1.1.0'
|
||||
__version__ = '1.1.1'
|
||||
|
@ -294,6 +294,14 @@ class ACStatus(object):
|
||||
def fan_speed(self):
|
||||
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
|
||||
def is_on(self):
|
||||
op = ACOp(self.lookup_enum('Operation'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user