You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to switch the thermostat on and off using the HA UI, I got the following error.
File "/usr/local/lib/python3.11/site-packages/smartrent/utils.py", line 446, in _async_update_state_via_ws
await device._update(formatted_resp)
File "/usr/local/lib/python3.11/site-packages/smartrent/device.py", line 148, in _update
self._update_parser(event)
File "/usr/local/lib/python3.11/site-packages/smartrent/thermostat.py", line 154, in _update_parser
last_read_state_int = int(float(last_read_state_str))
^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: 'off'
The text was updated successfully, but these errors were encountered:
When I try to switch the thermostat on and off using the HA UI, I got the following error.
File "/usr/local/lib/python3.11/site-packages/smartrent/utils.py", line 446, in _async_update_state_via_ws
await device._update(formatted_resp)
File "/usr/local/lib/python3.11/site-packages/smartrent/device.py", line 148, in _update
self._update_parser(event)
File "/usr/local/lib/python3.11/site-packages/smartrent/thermostat.py", line 154, in _update_parser
last_read_state_int = int(float(last_read_state_str))
^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: 'off'
The text was updated successfully, but these errors were encountered: