Add async_get_options_flow type hints (a-m) (#73430)
This commit is contained in:
parent
ca0a185b32
commit
b589700651
25 changed files with 129 additions and 42 deletions
|
@ -1,4 +1,6 @@
|
|||
"""Config flow for AlarmDecoder."""
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
|
||||
from adext import AdExt
|
||||
|
@ -58,7 +60,9 @@ class AlarmDecoderFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
|
||||
@staticmethod
|
||||
@callback
|
||||
def async_get_options_flow(config_entry):
|
||||
def async_get_options_flow(
|
||||
config_entry: config_entries.ConfigEntry,
|
||||
) -> AlarmDecoderOptionsFlowHandler:
|
||||
"""Get the options flow for AlarmDecoder."""
|
||||
return AlarmDecoderOptionsFlowHandler(config_entry)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue