Skip to content

Commit 0bbb168

Browse files
authored
Add Home Connect DHCP information (home-assistant#147494)
* Add Home Connect DHCP information * Add tests
1 parent 0a884c7 commit 0bbb168

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
lines changed

homeassistant/components/home_connect/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"macaddress": "68A40E*"
1515
},
1616
{
17-
"hostname": "(siemens|neff)-*",
17+
"hostname": "(bosch|neff|siemens)-*",
1818
"macaddress": "38B4D3*"
1919
}
2020
],

homeassistant/generated/dhcp.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/components/home_connect/test_config_flow.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,21 @@
3636
hostname="BOSCH-ABCDE1234-68A40E000000",
3737
macaddress="68:A4:0E:00:00:00",
3838
),
39+
DhcpServiceInfo(
40+
ip="1.1.1.1",
41+
hostname="BOSCH-ABCDE1234-68A40E000000",
42+
macaddress="38:B4:D3:00:00:00",
43+
),
44+
DhcpServiceInfo(
45+
ip="1.1.1.1",
46+
hostname="bosch-dishwasher-000000000000000000",
47+
macaddress="68:A4:0E:00:00:00",
48+
),
49+
DhcpServiceInfo(
50+
ip="1.1.1.1",
51+
hostname="bosch-dishwasher-000000000000000000",
52+
macaddress="38:B4:D3:00:00:00",
53+
),
3954
DhcpServiceInfo(
4055
ip="1.1.1.1",
4156
hostname="SIEMENS-ABCDE1234-68A40E000000",
@@ -56,6 +71,26 @@
5671
hostname="siemens-dishwasher-000000000000000000",
5772
macaddress="38:B4:D3:00:00:00",
5873
),
74+
DhcpServiceInfo(
75+
ip="1.1.1.1",
76+
hostname="NEFF-ABCDE1234-68A40E000000",
77+
macaddress="68:A4:0E:00:00:00",
78+
),
79+
DhcpServiceInfo(
80+
ip="1.1.1.1",
81+
hostname="NEFF-ABCDE1234-38B4D3000000",
82+
macaddress="38:B4:D3:00:00:00",
83+
),
84+
DhcpServiceInfo(
85+
ip="1.1.1.1",
86+
hostname="neff-dishwasher-000000000000000000",
87+
macaddress="68:A4:0E:00:00:00",
88+
),
89+
DhcpServiceInfo(
90+
ip="1.1.1.1",
91+
hostname="neff-dishwasher-000000000000000000",
92+
macaddress="38:B4:D3:00:00:00",
93+
),
5994
)
6095

6196

0 commit comments

Comments
 (0)