Clean up config entry handlers decorator from config flows (#49932)

This commit is contained in:
Franck Nijhof
2021-04-30 23:28:25 +02:00
committed by GitHub
parent 59f32f7c9c
commit e1a3ef3d69
25 changed files with 26 additions and 49 deletions

View File

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