Add async_get_options_flow type hints (a-m) (#73430)

This commit is contained in:
epenet 2022-06-13 13:17:59 +02:00 committed by GitHub
parent ca0a185b32
commit b589700651
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 129 additions and 42 deletions

View file

@ -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)