Add async_get_options_flow type hints (n-z) (#73431)
This commit is contained in:
parent
b589700651
commit
42ed0fd47b
20 changed files with 106 additions and 35 deletions
|
@ -1,4 +1,6 @@
|
|||
"""Config flow for Tado integration."""
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
|
||||
from PyTado.interface import Tado
|
||||
|
@ -112,7 +114,9 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
|
||||
@staticmethod
|
||||
@callback
|
||||
def async_get_options_flow(config_entry):
|
||||
def async_get_options_flow(
|
||||
config_entry: config_entries.ConfigEntry,
|
||||
) -> OptionsFlowHandler:
|
||||
"""Get the options flow for this handler."""
|
||||
return OptionsFlowHandler(config_entry)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue