Hello,
I have updated HA to the latest version and all my entities related to an SMA inverter have stopped being updated.
After removing the device and creating it again the entities are not created anymore.
I can log to the web interface ot the inverter as usual.
Please ask me for any more info as needed.
Cheers
Julien
Below is the related log (I suppose)
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:451
integration: Sensor (documentation, issues)
First occurred: 3:12:24 PM (4 occurrences)
Last logged: 3:23:47 PM
Error while setting up sma platform for sensor:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 451, in _async_setup_platform
await asyncio.shield(awaitable)
File "/usr/src/homeassistant/homeassistant/components/sma/sensor.py", line 844, in async_setup_entry
async_add_entities(
~~~~~~~~~~~~~~~~~~^
SMAsensor(
^^^^^^^^^^
...<5 lines>...
for sensor in coordinator.data.sensors
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 570, in _async_schedule_add_entities_for_entry
new_entities if type(new_entities) is list else list(new_entities)
~~~~^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sma/sensor.py", line 845, in <genexpr>
SMAsensor(
~~~~~~~~~^
coordinator,
^^^^^^^^^^^^
...<2 lines>...
entry,
^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/components/sma/sensor.py", line 877, in __init__
assert entry.unique_id
^^^^^^^^^^^^^^^
AssertionError