mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix old ESPHome entities not being removed when configuration changes
fixes #140756
This commit is contained in:
parent
cc8771ea43
commit
262520d8cd
@ -95,7 +95,7 @@ async def platform_async_setup_entry(
|
||||
info and state updates.
|
||||
"""
|
||||
entry_data = entry.runtime_data
|
||||
entry_data.info[info_type] = {}
|
||||
entry_data.info.setdefault(info_type, {})
|
||||
platform = entity_platform.async_get_current_platform()
|
||||
on_static_info_update = functools.partial(
|
||||
async_static_info_updated,
|
||||
|
Loading…
x
Reference in New Issue
Block a user