This commit is contained in:
J. Nick Koston 2025-04-16 19:03:03 -10:00
parent b5fe085d05
commit 5a55c0d016
No known key found for this signature in database

View File

@ -179,8 +179,11 @@ class EsphomeFlowHandler(ConfigFlow, domain=DOMAIN):
) -> ConfigFlowResult: ) -> ConfigFlowResult:
"""Handle a flow initialized by a reconfig request.""" """Handle a flow initialized by a reconfig request."""
self._reconfig_entry = self._get_reconfigure_entry() self._reconfig_entry = self._get_reconfigure_entry()
self._host = self._reconfig_entry.data[CONF_HOST] data = self._reconfig_entry.data
self._port = self._reconfig_entry.data.get(CONF_PORT, DEFAULT_PORT) self._host = data[CONF_HOST]
self._port = data.get(CONF_PORT, DEFAULT_PORT)
self._noise_psk = data.get(CONF_NOISE_PSK)
self._device_name = data.get(CONF_DEVICE_NAME)
return await self._async_step_user_base() return await self._async_step_user_base()
@property @property