Do not set up DSM when setting up Nest legacy (#42406)

This commit is contained in:
Paulus Schoutsen
2020-10-26 16:40:43 +01:00
committed by GitHub
parent a12a8350ce
commit 810ef349c3

View File

@@ -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)