Just tried upgrading to the latest version from the last beta version and not going well….
I don’t actually know if it’s installed okay, HACS is telling me it’s the latest version however when I enter the config menu it is still saying the enable automations is beta? I have tried deleting the integration but still the same.
Issues are that I still can’t load on/off schedules from a yaml file, same error I reported a few weeks back;
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:150
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 02:37:17 (3 occurrences)
Last logged: 02:47:55
[1684546728] Error handling message: Error setting schedule from yaml file - Error converting to Wiser schedule: bad operand type for abs(): ‘str’ (unknown_error) from 192.168.1.68 (Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78)
Didn’t notice before but can’t save an on/off schedule using the schedule card, error is listed as;
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/wiser/websockets.py:423
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 02:45:37 (3 occurrences)
Last logged: 02:56:33
[1466043456] Error handling message: Unknown error (unknown_error) from 192.168.1.68 (Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78)
File “/usr/local/lib/python3.10/site-packages/aioWiserHeatAPI/schedule.py”, line 140, in _convert_to_wiser_schedule
schedule_day = self._convert_yaml_to_wiser_day(sched)
File “/usr/local/lib/python3.10/site-packages/aioWiserHeatAPI/schedule.py”, line 641, in _convert_yaml_to_wiser_day
time = -abs(time) if time != 0 else -2400
TypeError: bad operand type for abs(): ‘str’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.10/site-packages/aioWiserHeatAPI/schedule.py”, line 407, in set_schedule_from_ws_data
schedule = self._convert_to_wiser_schedule(schedule_json)
File “/usr/local/lib/python3.10/site-packages/aioWiserHeatAPI/schedule.py”, line 158, in _convert_to_wiser_schedule
raise WiserScheduleError(f"Error converting to Wiser schedule: {ex}")
aioWiserHeatAPI.exceptions.WiserScheduleError: Error converting to Wiser schedule: bad operand type for abs(): ‘str’
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 27, 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.10/site-packages/aioWiserHeatAPI/schedule.py”, line 415, in set_schedule_from_ws_data
raise WiserScheduleError(
aioWiserHeatAPI.exceptions.WiserScheduleError: Error setting schedule from websocket data - Error converting to Wiser schedule: bad operand type for abs(): ‘str’
Rolled back to R3.2.2 just to check and both worked fine there.