From 3a3e5e636baebf531ed2b6a9f38c2fb794f5442f Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 16 Jan 2021 09:41:41 -1000 Subject: [PATCH] Switch somfy to zeroconf discovery (#45158) --- homeassistant/components/somfy/manifest.json | 4 ++-- homeassistant/generated/dhcp.py | 5 ----- homeassistant/generated/zeroconf.py | 6 ++++++ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/homeassistant/components/somfy/manifest.json b/homeassistant/components/somfy/manifest.json index 7fb41992164..a236bc40085 100644 --- a/homeassistant/components/somfy/manifest.json +++ b/homeassistant/components/somfy/manifest.json @@ -6,7 +6,7 @@ "dependencies": ["http"], "codeowners": ["@tetienne"], "requirements": ["pymfy==0.9.3"], - "dhcp": [ - {"hostname":"gateway-*","macaddress":"F8811A*"} + "zeroconf": [ + {"type": "_kizbox._tcp.local.", "name": "gateway*"} ] } diff --git a/homeassistant/generated/dhcp.py b/homeassistant/generated/dhcp.py index c70d5b9f979..0b6f5166f88 100644 --- a/homeassistant/generated/dhcp.py +++ b/homeassistant/generated/dhcp.py @@ -105,11 +105,6 @@ DHCP = [ "hostname": "target", "macaddress": "002702*" }, - { - "domain": "somfy", - "hostname": "gateway-*", - "macaddress": "F8811A*" - }, { "domain": "somfy_mylink", "hostname": "somfy_*", diff --git a/homeassistant/generated/zeroconf.py b/homeassistant/generated/zeroconf.py index 90e16b30c14..4b31870ab06 100644 --- a/homeassistant/generated/zeroconf.py +++ b/homeassistant/generated/zeroconf.py @@ -90,6 +90,12 @@ ZEROCONF = { "domain": "ipp" } ], + "_kizbox._tcp.local.": [ + { + "domain": "somfy", + "name": "gateway*" + } + ], "_mediaremotetv._tcp.local.": [ { "domain": "apple_tv"