mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Do not set up DSM when setting up Nest legacy (#42406)
This commit is contained in:
parent
a12a8350ce
commit
810ef349c3
@ -14,4 +14,6 @@ async def async_setup_entry(
|
||||
"""Set up the sensors."""
|
||||
if DATA_SDM not in entry.data:
|
||||
await async_setup_legacy_entry(hass, entry, async_add_entities)
|
||||
return
|
||||
|
||||
await async_setup_sdm_entry(hass, entry, async_add_entities)
|
||||
|
Loading…
x
Reference in New Issue
Block a user