Clean up config entry handlers decorator from config flows (#49932)
This commit is contained in:
parent
59f32f7c9c
commit
e1a3ef3d69
25 changed files with 26 additions and 49 deletions
|
@ -83,8 +83,7 @@ def ensure_pin_format(pin):
|
|||
return "-".join(match.groups())
|
||||
|
||||
|
||||
@config_entries.HANDLERS.register(DOMAIN)
|
||||
class HomekitControllerFlowHandler(config_entries.ConfigFlow):
|
||||
class HomekitControllerFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
"""Handle a HomeKit config flow."""
|
||||
|
||||
VERSION = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue