From 669e36caece7a49cfb463e51172d49df36343849 Mon Sep 17 00:00:00 2001 From: Aaron Bach Date: Thu, 28 Oct 2021 11:07:58 -0600 Subject: [PATCH] Add DHCP Discovery for SimpliSafe (#58560) * Add DHCP Discovery for SimpliSafe * Fix tests * Docstring * Code review --- homeassistant/components/simplisafe/manifest.json | 8 +++++++- homeassistant/generated/dhcp.py | 5 +++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/simplisafe/manifest.json b/homeassistant/components/simplisafe/manifest.json index 956157a237d..97968e124b1 100644 --- a/homeassistant/components/simplisafe/manifest.json +++ b/homeassistant/components/simplisafe/manifest.json @@ -5,5 +5,11 @@ "documentation": "https://www.home-assistant.io/integrations/simplisafe", "requirements": ["simplisafe-python==12.0.2"], "codeowners": ["@bachya"], - "iot_class": "cloud_polling" + "iot_class": "cloud_polling", + "dhcp": [ + { + "hostname": "simplisafe*", + "macaddress": "30AEA4*" + } + ] } diff --git a/homeassistant/generated/dhcp.py b/homeassistant/generated/dhcp.py index 9e99e512d9e..92222cf092b 100644 --- a/homeassistant/generated/dhcp.py +++ b/homeassistant/generated/dhcp.py @@ -307,6 +307,11 @@ DHCP = [ "hostname": "sense-*", "macaddress": "A4D578*" }, + { + "domain": "simplisafe", + "hostname": "simplisafe*", + "macaddress": "30AEA4*" + }, { "domain": "smartthings", "hostname": "st*",