Do not set up DSM when setting up Nest legacy (#42406)
This commit is contained in:
parent
3ec83dc29e
commit
287b33eef3
1 changed files with 2 additions and 0 deletions
|
@ -14,4 +14,6 @@ async def async_setup_entry(
|
||||||
"""Set up the sensors."""
|
"""Set up the sensors."""
|
||||||
if DATA_SDM not in entry.data:
|
if DATA_SDM not in entry.data:
|
||||||
await async_setup_legacy_entry(hass, entry, async_add_entities)
|
await async_setup_legacy_entry(hass, entry, async_add_entities)
|
||||||
|
return
|
||||||
|
|
||||||
await async_setup_sdm_entry(hass, entry, async_add_entities)
|
await async_setup_sdm_entry(hass, entry, async_add_entities)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue