sander1988 / Indego

Home Assistant Custom Component for Bosch Indego Lawn Mower
Apache License 2.0
92 stars 29 forks source link

Mower unavailable in version 5.7.0b1 #226

Closed wimb0 closed 3 months ago

wimb0 commented 3 months ago

Checklist

The problem

The latest beta version 5.7.0b1 does not seem to work. Most entities are not available. Bosch Indego App works fine. Changing the UserAgent does not help.

Environment

Logs

I get the following error in the logs:

Deze fout is ontstaan door een aangepaste integratie.
Logger: custom_components.indego
  Bron: custom_components/indego/__init__.py:542
  integratie: Bosch Indego Mower (documentatie)
  Eerst voorgekomen: 2 juni 2024 om 19:41:00 (2406 gebeurtenissen)
  Laatst gelogd: 11:53:37

  Mower state update failed, reason: 'IndegoAsyncClient' object has no attribute 'online'

State of relevant entities

image

kimzeuner commented 3 months ago

Having the same issue. For me the latest working version is 5.7.0b0

wimb0 commented 3 months ago

Just checked, 5.7.0b0 is also still working for me.

sander1988 commented 3 months ago

Somehow HA did not update to the latest pyIndego version here. This is probably the result of using/testing beta versions (which is not supported by HA and therefore only recommended for advanced users).

The fix here is to remove the pyIndego pip and restart HA, that should trigger the reinstall (and your should see it in the logs).

Command to remove pyIndego for Docker based installs: pip uninstall pyIndego

I don't know the command for other type of installs.

You should remove the old alert entities manually; HA shows a notification icon about that in the entities screen.

wimb0 commented 3 months ago

@sander1988 thanks for the info. This fixed the problem for me :-)

I use Home Assistant supervised, and the solution is simple:

image

sander1988 commented 3 months ago

@wimb0 - Thank you for confirming. And note that the version of pyIndego gets bumped after beta, so that will prevent this issue on the final release.