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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 26 additions and 49 deletions

View file

@ -16,8 +16,7 @@ _LOGGER = logging.getLogger(__name__)
DOCS_URL = "https://www.home-assistant.io/integrations/life360"
@config_entries.HANDLERS.register(DOMAIN)
class Life360ConfigFlow(config_entries.ConfigFlow):
class Life360ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
"""Life360 integration config flow."""
VERSION = 1