This commit is contained in:
G Johansson 2025-07-08 12:01:39 +00:00
parent 543fc3f634
commit f34e3f1d1b

View File

@ -179,6 +179,7 @@ async def async_migrate_entry(hass: HomeAssistant, entry: ScrapeConfigEntry) ->
old_unique_id,
sensor_config,
)
await asyncio.sleep(0.1) # Ensure different subentry IDs
new_sub_entry = ConfigSubentry(
data=MappingProxyType(sensor_config),
subentry_type="entity",