From 8bfe692eea45a230c3daf20a81c5cebe9d43dcdb Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 9 Jul 2023 05:36:46 -1000 Subject: [PATCH] Update tplink dhcp discovery (#96191) * Update tplink dhcp discovery - Found a KP device with 54AF97 - Found ES devices also use the same OUIs as EP * from issue 95028 --- homeassistant/components/tplink/manifest.json | 20 ++++++++++++---- homeassistant/generated/dhcp.py | 23 +++++++++++++++---- 2 files changed, 35 insertions(+), 8 deletions(-) diff --git a/homeassistant/components/tplink/manifest.json b/homeassistant/components/tplink/manifest.json index eaa1acc11bf..0a9b0254f91 100644 --- a/homeassistant/components/tplink/manifest.json +++ b/homeassistant/components/tplink/manifest.json @@ -9,21 +9,29 @@ "registered_devices": true }, { - "hostname": "es*", + "hostname": "e[sp]*", "macaddress": "54AF97*" }, { - "hostname": "ep*", + "hostname": "e[sp]*", "macaddress": "E848B8*" }, { - "hostname": "ep*", + "hostname": "e[sp]*", "macaddress": "1C61B4*" }, { - "hostname": "ep*", + "hostname": "e[sp]*", "macaddress": "003192*" }, + { + "hostname": "hs*", + "macaddress": "B4B024*" + }, + { + "hostname": "hs*", + "macaddress": "9C5322*" + }, { "hostname": "hs*", "macaddress": "1C3BF3*" @@ -131,6 +139,10 @@ { "hostname": "k[lp]*", "macaddress": "6C5AB0*" + }, + { + "hostname": "k[lp]*", + "macaddress": "54AF97*" } ], "documentation": "https://www.home-assistant.io/integrations/tplink", diff --git a/homeassistant/generated/dhcp.py b/homeassistant/generated/dhcp.py index 6c8910cd7f9..05b53acba5f 100644 --- a/homeassistant/generated/dhcp.py +++ b/homeassistant/generated/dhcp.py @@ -597,24 +597,34 @@ DHCP: list[dict[str, str | bool]] = [ }, { "domain": "tplink", - "hostname": "es*", + "hostname": "e[sp]*", "macaddress": "54AF97*", }, { "domain": "tplink", - "hostname": "ep*", + "hostname": "e[sp]*", "macaddress": "E848B8*", }, { "domain": "tplink", - "hostname": "ep*", + "hostname": "e[sp]*", "macaddress": "1C61B4*", }, { "domain": "tplink", - "hostname": "ep*", + "hostname": "e[sp]*", "macaddress": "003192*", }, + { + "domain": "tplink", + "hostname": "hs*", + "macaddress": "B4B024*", + }, + { + "domain": "tplink", + "hostname": "hs*", + "macaddress": "9C5322*", + }, { "domain": "tplink", "hostname": "hs*", @@ -750,6 +760,11 @@ DHCP: list[dict[str, str | bool]] = [ "hostname": "k[lp]*", "macaddress": "6C5AB0*", }, + { + "domain": "tplink", + "hostname": "k[lp]*", + "macaddress": "54AF97*", + }, { "domain": "tuya", "macaddress": "105A17*",