home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.4k stars 30.65k forks source link

Meater Integration not working #71330

Closed Wirrkopf76 closed 2 years ago

Wirrkopf76 commented 2 years ago

The problem

I wanted to try the new Meater integration but that seems to fail.

I have set up all my probes to different cooks and they are connected to the cloud. The meater integration is configured with the correct username/password combination and this also looks good.

Unfortunately, I cannot see any probes.

The log reads:

`Logger: homeassistant Source: components/meater/sensor.py:155 First occurred: 09:50:12 (34 occurrences) Last logged: 10:06:45

Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, in _async_refresh update_callback() File "/usr/src/homeassistant/homeassistant/components/meater/sensor.py", line 155, in async_update_data if dev.id in known_probes: AttributeError: 'str' object has no attribute 'id' `

What version of Home Assistant Core has the issue?

2022.5.0

What was the last working version of Home Assistant Core?

none, because the Meater Integration was added in 2022.5.0

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Meater

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant
Source: components/meater/sensor.py:155 
First occurred: 09:50:12 (34 occurrences) 
Last logged: 10:06:45

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/meater/sensor.py", line 155, in async_update_data
    if dev.id in known_probes:
AttributeError: 'str' object has no attribute 'id'

Additional information

No response

thecode commented 2 years ago

Fixed in https://github.com/home-assistant/core/pull/71324, will be on the 2022.5.1 patch release