mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 20:18:21 +00:00
sleep
This commit is contained in:
parent
543fc3f634
commit
f34e3f1d1b
@ -179,6 +179,7 @@ async def async_migrate_entry(hass: HomeAssistant, entry: ScrapeConfigEntry) ->
|
|||||||
old_unique_id,
|
old_unique_id,
|
||||||
sensor_config,
|
sensor_config,
|
||||||
)
|
)
|
||||||
|
await asyncio.sleep(0.1) # Ensure different subentry IDs
|
||||||
new_sub_entry = ConfigSubentry(
|
new_sub_entry = ConfigSubentry(
|
||||||
data=MappingProxyType(sensor_config),
|
data=MappingProxyType(sensor_config),
|
||||||
subentry_type="entity",
|
subentry_type="entity",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user