From 3b272ec54cd4fc59eff2eb22655cee237ea8da53 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 11 May 2021 17:10:33 -0500 Subject: [PATCH] Add dhcp discovery to smartthings (#50306) --- .../components/smartthings/manifest.json | 20 ++++++++++++++++++- homeassistant/generated/dhcp.py | 20 +++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/smartthings/manifest.json b/homeassistant/components/smartthings/manifest.json index 7d8bc17d430..0c05c5abb90 100644 --- a/homeassistant/components/smartthings/manifest.json +++ b/homeassistant/components/smartthings/manifest.json @@ -7,5 +7,23 @@ "dependencies": ["webhook"], "after_dependencies": ["cloud"], "codeowners": ["@andrewsayre"], - "iot_class": "cloud_push" + "iot_class": "cloud_push", + "dhcp": [ + { + "hostname": "st*", + "macaddress": "24FD5B*" + }, + { + "hostname": "smartthings*", + "macaddress": "24FD5B*" + }, + { + "hostname": "hub*", + "macaddress": "24FD5B*" + }, + { + "hostname": "hub*", + "macaddress": "D052A8*" + } + ] } diff --git a/homeassistant/generated/dhcp.py b/homeassistant/generated/dhcp.py index dc32b9c4c99..a4436a1cebe 100644 --- a/homeassistant/generated/dhcp.py +++ b/homeassistant/generated/dhcp.py @@ -178,6 +178,26 @@ DHCP = [ "hostname": "sense-*", "macaddress": "DCEFCA*" }, + { + "domain": "smartthings", + "hostname": "st*", + "macaddress": "24FD5B*" + }, + { + "domain": "smartthings", + "hostname": "smartthings*", + "macaddress": "24FD5B*" + }, + { + "domain": "smartthings", + "hostname": "hub*", + "macaddress": "24FD5B*" + }, + { + "domain": "smartthings", + "hostname": "hub*", + "macaddress": "D052A8*" + }, { "domain": "solaredge", "hostname": "target",