Increase static type coverage for nest integration (#53475)

Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Allen Porter 2021-07-26 16:43:52 -07:00 committed by GitHub
parent d4c4263730
commit 6376b4be5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 146 additions and 110 deletions

View file

@ -77,7 +77,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
"""
async def async_setup_legacy_entry(hass, entry, async_add_entities):
async def async_setup_legacy_entry(hass, entry, async_add_entities) -> None:
"""Set up a Nest sensor based on a config entry."""
nest = hass.data[DATA_NEST]