Add type hints for config entry update listeners (#65412)
This commit is contained in:
parent
627be81531
commit
a63e5c7ded
36 changed files with 47 additions and 39 deletions
|
@ -145,7 +145,7 @@ async def async_setup_entry_gw(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
return True
|
||||
|
||||
|
||||
async def _update_listener(hass: HomeAssistant, entry: ConfigEntry):
|
||||
async def _update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None:
|
||||
"""Handle options update."""
|
||||
coordinator = hass.data[DOMAIN][entry.entry_id][COORDINATOR]
|
||||
update_interval = entry.options.get(CONF_SCAN_INTERVAL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue