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:
1 parent
a80d26f0dc
commit
6102eb9f1c
3 files changed
+4
-7
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user