From b6148bbbe7e5ff45de15cc19ac117302fd94864f Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 16 Jan 2021 15:20:56 +0100 Subject: [PATCH] Add DHCP discovery to Toon (#45222) --- homeassistant/components/toon/manifest.json | 3 ++- homeassistant/generated/dhcp.py | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/toon/manifest.json b/homeassistant/components/toon/manifest.json index 87398fab302..f8f9fc11012 100644 --- a/homeassistant/components/toon/manifest.json +++ b/homeassistant/components/toon/manifest.json @@ -6,5 +6,6 @@ "requirements": ["toonapi==0.2.0"], "dependencies": ["http"], "after_dependencies": ["cloud"], - "codeowners": ["@frenck"] + "codeowners": ["@frenck"], + "dhcp": [{ "hostname": "eneco-*", "macaddress": "74C63B*" }] } diff --git a/homeassistant/generated/dhcp.py b/homeassistant/generated/dhcp.py index 4d7e391d7db..c70d5b9f979 100644 --- a/homeassistant/generated/dhcp.py +++ b/homeassistant/generated/dhcp.py @@ -134,5 +134,10 @@ DHCP = [ "domain": "tesla", "hostname": "tesla_*", "macaddress": "98ED5C*" + }, + { + "domain": "toon", + "hostname": "eneco-*", + "macaddress": "74C63B*" } ]