Add DHCP discovery flow to bosch_alarm (#142250)

* Add dhcp discovery

* Update homeassistant/components/bosch_alarm/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* put mac address in entry instead of unique id

* Update host and mac via dhcp discovery

* add mac to connections

* Abort dhcp flow if there is already an ongoing flow

* apply changes from review

* apply change from review

* remove outdated test

* fix snapshots

* apply change from review

* clean definition for connections

* update quality scale

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
Sanjay Govind
2025-05-16 20:21:41 +12:00
committed by GitHub
parent 270780ef5f
commit 9bbc49e842
13 changed files with 1926 additions and 1703 deletions

View File

@@ -108,6 +108,10 @@ DHCP: Final[list[dict[str, str | bool]]] = [
"hostname": "bond-*",
"macaddress": "F44E38*",
},
{
"domain": "bosch_alarm",
"macaddress": "000463*",
},
{
"domain": "broadlink",
"registered_devices": True,