1
0
mirror of https://github.com/no2chem/wideq.git synced 2025-05-19 08:40:25 -07:00

return True if display light status not supported

This commit is contained in:
David 2020-01-22 13:26:51 -05:00
parent 7d6033a437
commit facd0c09ba

View File

@ -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."""