Update nest integration with fixes from initial PR (#42250)

This commit is contained in:
Allen Porter 2020-10-24 11:48:28 -07:00 committed by GitHub
parent 7a6d82d997
commit 0c852b5f81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 87 additions and 29 deletions

View file

@ -13,5 +13,5 @@ async def async_setup_entry(
) -> None:
"""Set up the sensors."""
if DATA_SDM not in entry.data:
return await async_setup_legacy_entry(hass, entry, async_add_entities)
return await async_setup_sdm_entry(hass, entry, async_add_entities)
await async_setup_legacy_entry(hass, entry, async_add_entities)
await async_setup_sdm_entry(hass, entry, async_add_entities)