Use domain const in config_flow (#48168)

This commit is contained in:
Philip Allgaier 2021-03-21 00:34:46 +01:00 committed by GitHub
parent 01fcc41aa0
commit 3ae9460131
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 10 deletions

View file

@ -12,12 +12,12 @@ import voluptuous as vol
from homeassistant import config_entries
from homeassistant.const import CONF_API_KEY, CONF_HOST, CONF_PASSWORD
from .const import CONF_UUID, KEY_MAC, TIMEOUT
from .const import CONF_UUID, DOMAIN, KEY_MAC, TIMEOUT
_LOGGER = logging.getLogger(__name__)
@config_entries.HANDLERS.register("daikin")
@config_entries.HANDLERS.register(DOMAIN)
class FlowHandler(config_entries.ConfigFlow):
"""Handle a config flow."""