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 adjusting the schedules using the card, sometimes I get these errors when trying to save the edits, and they don't save. I try multiple times but it fails most of the time. Unsure if it saves at any point.
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/wiser/websockets.py:423
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 23:46:55 (1 occurrences)
Last logged: 23:46:55
[140394595316880] Error handling message: Unknown error (unknown_error) Axel from 2a05:87c6:139b:0:e938:47a6:2c26:c88f (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aioWiserHeatAPI/schedule.py", line 217, in _convert_to_wiser_schedule
schedule_day = self._convert_yaml_to_wiser_day(sched)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aioWiserHeatAPI/schedule.py", line 605, in _convert_yaml_to_wiser_day
if tf._is_valid_temp(value):
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aioWiserHeatAPI/helpers/temp.py", line 72, in _is_valid_temp
elif temp == TEMP_OFF or (temp >= TEMP_MINIMUM and temp <= TEMP_MAXIMUM):
^^^^^^^^^^^^^^^^^^^^
TypeError: '>=' not supported between instances of 'str' and 'int'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aioWiserHeatAPI/schedule.py", line 494, in set_schedule_from_ws_data
schedule = self._convert_to_wiser_schedule(schedule_json)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aioWiserHeatAPI/schedule.py", line 235, in _convert_to_wiser_schedule
raise WiserScheduleError(f"Error converting to Wiser schedule: {ex}")
aioWiserHeatAPI.exceptions.WiserScheduleError: Error converting to Wiser schedule: '>=' not supported between instances of 'str' and 'int'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
await func(hass, connection, msg)
File "/config/custom_components/wiser/websockets.py", line 423, in websocket_save_schedule
await schedule.set_schedule_from_ws_data(new_schedule)
File "/usr/local/lib/python3.12/site-packages/aioWiserHeatAPI/schedule.py", line 502, in set_schedule_from_ws_data
raise WiserScheduleError(
aioWiserHeatAPI.exceptions.WiserScheduleError: Error setting schedule from websocket data - Error converting to Wiser schedule: '>=' not supported between instances of 'str' and 'int'
The text was updated successfully, but these errors were encountered:
I think the issue is when you have an Off setting in your schedule. I can recreate the error in that situation on any browser. Will look to implement a fix.
When adjusting the schedules using the card, sometimes I get these errors when trying to save the edits, and they don't save. I try multiple times but it fails most of the time. Unsure if it saves at any point.
The text was updated successfully, but these errors were encountered: