Remove YAML configuration from Daikin (#50080)

This commit is contained in:
Franck Nijhof 2021-05-04 23:23:59 +02:00 committed by GitHub
parent 4cf910affc
commit 4907764367
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 71 deletions

View file

@ -115,13 +115,6 @@ class FlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
user_input.get(CONF_PASSWORD),
)
async def async_step_import(self, user_input):
"""Import a config entry."""
host = user_input.get(CONF_HOST)
if not host:
return await self.async_step_user()
return await self._create_device(host)
async def async_step_zeroconf(self, discovery_info):
"""Prepare configuration for a discovered Daikin device."""
_LOGGER.debug("Zeroconf user_input: %s", discovery_info)