Add type hints for config entry update listeners (#65412)

This commit is contained in:
epenet 2022-02-02 10:36:04 +01:00 committed by GitHub
parent 627be81531
commit a63e5c7ded
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 47 additions and 39 deletions

View file

@ -313,7 +313,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
return True
async def _async_update_listener(hass: HomeAssistant, entry: ConfigEntry):
async def _async_update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None:
"""Handle options update."""
if entry.source == SOURCE_IMPORT:
return