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:
committed by
Pascal Vizeli
parent
9ac6f906ff
commit
085303c349
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user