1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Migrate Axis, deCONZ and UniFi to use config entry subclass (#26173)

* Use init_subclass for Config Entries

* Pylint cant handle subclass being the only user of imports
This commit is contained in:
Robert Svensson
2019-09-01 13:15:48 +02:00
committed by GitHub
parent a80d26f0dc
commit 6102eb9f1c
3 changed files with 4 additions and 7 deletions

View File

@@ -56,8 +56,7 @@ def configured_devices(hass):
}
@config_entries.HANDLERS.register(DOMAIN)
class AxisFlowHandler(config_entries.ConfigFlow):
class AxisFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
"""Handle a Axis config flow."""
VERSION = 1