-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update for vacuum.peyrebelle_pool_robot fails #26
Comments
Robot : RA 6900 iQ |
would you maybe be able to change your password and send me over your credentials to [email protected] ? I think I will be able to quick fix it if I see what is returned in your case as the other models seem to work fine so far with the code. |
Hi, I’m out for 2 weeks will see when coming back, thanks for the support ! Thomas |
should be fixed with the new code, added another try catch on that part can you confirm? |
fantastic, will try asap ... |
any update on this one? |
hey sorry about not coming back : I don't have the HA error above anymore .. I do have some timeout to get the status of the robot (see below) but I do thinks this particular issue can be closed ! thanks a lot! logger: homeassistant.helpers.entity Update for vacuum.peyrebelle_pool_robot fails |
oh no it is back: During handling of the above exception, another exception occurred: Traceback (most recent call last): KeyError: 'robot' |
Forked the project and I a tried to debug…. But couldn’t reproduce for now (obviously :) ). But seeing the code it can be normal to crash here as the retry is not protected . Will see if I had time to issue a PR to protect it a bit more. |
Hi,
sorry again, another one:
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:944
First occurred: July 4, 2024 at 11:46:06 PM (15 occurrences)
Last logged: 11:34:10 AM
Update for vacuum.peyrebelle_pool_robot fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 944, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1296, in async_device_update
await self.async_update()
File "/config/custom_components/iaqualinkRobots/vacuum.py", line 248, in async_update
self._status = data['payload']['robot']['state']['reported']['aws']['status']
~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: 'robot'
The text was updated successfully, but these errors were encountered: