Add setup type hints (part 1) (#63955)

Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet 2022-01-12 08:49:46 +01:00 committed by GitHub
parent fbb558618f
commit eafece3651
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 53 additions and 58 deletions

View file

@ -43,7 +43,7 @@ async def async_setup_entry(
hass: HomeAssistant,
config_entry: ConfigEntry,
async_add_entities: AddEntitiesCallback,
):
) -> None:
"""Set up the Zigbee Home Automation binary sensor from config entry."""
entities_to_create = hass.data[DATA_ZHA][Platform.BINARY_SENSOR]