Do not set up DSM when setting up Nest legacy (#42406)
This commit is contained in:
1 parent
a12a8350ce
commit
810ef349c3
1 file changed
+2
@@ -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)
|
||||
Reference in new issue
Block a user