mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Blebox update IP address if already configured via zeroconf (#90511)
feat: zeroconf, update ip address if device allready configured
This commit is contained in:
parent
d460eadce0
commit
933cd89833
@ -112,7 +112,7 @@ class BleBoxConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||||||
self.device_config["name"] = product.name
|
self.device_config["name"] = product.name
|
||||||
# Check if configured but IP changed since
|
# Check if configured but IP changed since
|
||||||
await self.async_set_unique_id(product.unique_id)
|
await self.async_set_unique_id(product.unique_id)
|
||||||
self._abort_if_unique_id_configured()
|
self._abort_if_unique_id_configured(updates={CONF_HOST: discovery_info.host})
|
||||||
self.context.update(
|
self.context.update(
|
||||||
{
|
{
|
||||||
"title_placeholders": {
|
"title_placeholders": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user