zweckj / lamarzocco

Interact with your La Marzocco espresso machine
55 stars 2 forks source link

HA entities no longer present after upgrade #21

Closed silke-99 closed 11 months ago

silke-99 commented 11 months ago

Hi,

This is probably more of a HA issue, but I'm not sure where to start...

I was using your integration in version 0.11 (ish) since some months without problems for our GS3 AV.

Now I made the fatal mistake of upgrading the integration to the last version, and all my entities got disconnected and I can't make them reappear in HA :-(

I think I still have connection to the machine, as the "download diagnostics" show all the proper data from the machine. I tried to delete and reconnect the machine, which succeeds but still no entities are being created.

Does anyone have an idea? What info should I provide for this to be helpful?

HA tells me this for my entities:


2023-11-20 12:40:57.390 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform lamarzocco.binary_sensor: Platform not found (cannot import name 'DeviceInfo' from 'homeassistant.helpers.device_registry' (/
usr/src/homeassistant/homeassistant/helpers/device_registry.py)).
2023-11-20 12:40:57.705 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform lamarzocco.button: Platform not found (cannot import name 'DeviceInfo' from 'homeassistant.helpers.device_registry' (/usr/src
/homeassistant/homeassistant/helpers/device_registry.py)).
2023-11-20 12:40:57.955 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform lamarzocco.sensor: Platform not found (cannot import name 'DeviceInfo' from 'homeassistant.helpers.device_registry' (/usr/src
/homeassistant/homeassistant/helpers/device_registry.py)).
2023-11-20 12:40:58.024 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform lamarzocco.switch: Platform not found (cannot import name 'DeviceInfo' from 'homeassistant.helpers.device_registry' (/usr/src
/homeassistant/homeassistant/helpers/device_registry.py)).
2023-11-20 12:40:58.100 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform lamarzocco.update: Platform not found (cannot import name 'DeviceInfo' from 'homeassistant.helpers.device_registry' (/usr/src
/homeassistant/homeassistant/helpers/device_registry.py)).
zweckj commented 11 months ago

Update your Home Assistant to a recent version.

silke-99 commented 11 months ago

Aaah, actually I thought I had :-(

But I noticed I was on HA "stable" which was 2023.08. Now I'm on "latest" (2023.11.02) and it works like a charm.

Thanks much, and very sorry for the trouble. This integration was actually the reason for migrating my household over to HA, I LOVE it... :-)