Use domain const in config_flow (#48168)
This commit is contained in:
parent
01fcc41aa0
commit
3ae9460131
8 changed files with 12 additions and 10 deletions
|
@ -27,11 +27,12 @@ from .const import (
|
|||
DEFAULT_BIRTH,
|
||||
DEFAULT_DISCOVERY,
|
||||
DEFAULT_WILL,
|
||||
DOMAIN,
|
||||
)
|
||||
from .util import MQTT_WILL_BIRTH_SCHEMA
|
||||
|
||||
|
||||
@config_entries.HANDLERS.register("mqtt")
|
||||
@config_entries.HANDLERS.register(DOMAIN)
|
||||
class FlowHandler(config_entries.ConfigFlow):
|
||||
"""Handle a config flow."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue