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

ESPHome component to use zeroconf discovery (#24043)

* Move ESPHome component to use zeroconf discovery

* Remove esphome from discovery component
This commit is contained in:
Robert Svensson
2019-05-23 08:55:08 +02:00
committed by Pascal Vizeli
parent 9ac6f906ff
commit 085303c349
6 changed files with 11 additions and 8 deletions

View File

@@ -69,8 +69,8 @@ class EsphomeFlowHandler(config_entries.ConfigFlow):
description_placeholders={'name': self._name},
)
async def async_step_discovery(self, user_input: ConfigType):
"""Handle discovery."""
async def async_step_zeroconf(self, user_input: ConfigType):
"""Handle zeroconf discovery."""
address = user_input['properties'].get(
'address', user_input['hostname'][:-1])
for entry in self._async_current_entries():