ha-stihl-imow
ha-stihl-imow copied to clipboard
Error 401, message='Unauthorized'
Hello,
I have used your integration for a few weeks with no problems. But now the integration is offline and the home assistant log shows the following error:
stihl_imow: Error on device update!
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 537, in async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 784, in async_device_update await self.async_update() File "/config/custom_components/stihl_imow/sensor.py", line 194, in async_update mower_state: MowerState = await self.imow.receive_mower_by_id( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/imow/api/init.py", line 494, in receive_mower_by_id response = await self.api_request( ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/imow/api/init.py", line 291, in api_request raise e File "/usr/local/lib/python3.11/site-packages/imow/api/init.py", line 286, in api_request payload.raise_for_status() File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1005, in raise_for_status raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 401, message='Unauthorized', url=URL('https://api.imow.stihl.com/mowers/81771/')
Have you seen this error before? The normal app is working as normally.
Best, Johan