Hello, the last couple of days my verisure smart switches have stopped working. I can see them and state but I cannot change state on them through home assistant. My other flows triggered by alarm state work fine, I just cannot switch the smart switches on and off. Tried toggle too, that does not work.
Here is the log:
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: domain=switch, service=turn_off, service_data=entity_id=[‘switch.espresso’], service_call_id=1696186704504-10>
ERROR:homeassistant.core:Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant\core.py”, line 1014, in event_to_service_call
yield from service_handler.func(service_call)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant\components\switch_init.py", line 108, in async_handle_switch_service
yield from switch.async_turn_off()
File “C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant\components\switch\verisure.py”, line 59, in turn_off
hub.my_pages.smartplug.set(self._id, ‘off’)
File “C:\Users\Administrator\AppData\Roaming.homeassistant\deps\verisure\devices\smartplug.py”, line 39, in set
return not self._session.post(COMMAND_URL, data)
File “C:\Users\Administrator\AppData\Roaming.homeassistant\deps\verisure\session.py”, line 161, in post
self.validate_response(response)
File “C:\Users\Administrator\AppData\Roaming.homeassistant\deps\verisure\session.py”, line 227, in validate_response
response.text.encode(‘utf-8’))))
File “C:\Users\Administrator\AppData\Roaming.homeassistant\deps\verisure\session.py”, line 234, in raise_response_error
raise default_error
verisure.session.ResponseError: Unable to validate response form My Pages, status code: 404 - Data: b’’