You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 29 ESPHome devices. Their yaml is quite clean, sharing configuration through packages & substitutions, making sure that all devices' base configuration is more or less identical. Everything is working just fine.
However, when I delete an ESPHome device from HA and re-add it (I sometimes do that if I for example remove a sensor or update its entity category), the "new" device won't have an update component.
In the logs, I see following error:
Logger: homeassistant.components.update
Source: helpers/entity_platform.py:366
integration: Update ([documentation](https://www.home-assistant.io/integrations/update), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+update%22))
First occurred: 08:36:34 (6 occurrences)
Last logged: 09:13:38
Error while setting up esphome platform for update
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
await asyncio.shield(awaitable)
File "/usr/src/homeassistant/homeassistant/components/esphome/update.py", line 64, in async_setup_entry
assert entry_data.device_info is not None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
What version of Home Assistant Core has the issue?
core-2025.1.2
What was the last working version of Home Assistant Core?
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (update) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of update can trigger bot actions by commenting:
@home-assistant close Closes the issue.
@home-assistant rename Awesome new title Renames the issue.
@home-assistant reopen Reopen the issue.
@home-assistant unassign update Removes the current integration label and assignees on the issue, add the integration domain after the command.
@home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
@home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
Hey there @OttoWinter, @jesserockz, @kbx81, @bdraco, mind taking a look at this issue as it has been labeled with an integration (esphome) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of esphome can trigger bot actions by commenting:
@home-assistant close Closes the issue.
@home-assistant rename Awesome new title Renames the issue.
@home-assistant reopen Reopen the issue.
@home-assistant unassign esphome Removes the current integration label and assignees on the issue, add the integration domain after the command.
@home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
@home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
The problem
I have 29 ESPHome devices. Their yaml is quite clean, sharing configuration through packages & substitutions, making sure that all devices' base configuration is more or less identical. Everything is working just fine.
However, when I delete an ESPHome device from HA and re-add it (I sometimes do that if I for example remove a sensor or update its entity category), the "new" device won't have an update component.
In the logs, I see following error:
What version of Home Assistant Core has the issue?
core-2025.1.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ESPHome
Link to integration documentation on our website
https://www.home-assistant.io/integrations/update
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: