mirror of
https://github.com/no2chem/wideq.git
synced 2025-05-19 00:30:10 -07:00
return True if display light status not supported
This commit is contained in:
parent
7d6033a437
commit
facd0c09ba
@ -268,7 +268,7 @@ class ACDevice(Device):
|
|||||||
value = self._get_control('DisplayControl')
|
value = self._get_control('DisplayControl')
|
||||||
return value == '0' # Seems backwards, but isn't.
|
return value == '0' # Seems backwards, but isn't.
|
||||||
except FailedRequestError:
|
except FailedRequestError:
|
||||||
return 0 # Device does not support reporting display light status
|
return True # Device does not support reporting display light status (so it must be on)
|
||||||
|
|
||||||
def get_volume(self):
|
def get_volume(self):
|
||||||
"""Get the speaker volume level."""
|
"""Get the speaker volume level."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user