mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Axis - Improve discovery title by adding placeholder support (#27663)
* Improve discovery title by adding placeholder support
This commit is contained in:
@@ -186,6 +186,7 @@ async def test_zeroconf_flow(hass):
|
||||
data={
|
||||
config_flow.CONF_HOST: "1.2.3.4",
|
||||
config_flow.CONF_PORT: 80,
|
||||
"hostname": "name",
|
||||
"properties": {"macaddress": "00408C12345"},
|
||||
},
|
||||
context={"source": "zeroconf"},
|
||||
@@ -319,6 +320,7 @@ async def test_zeroconf_flow_bad_config_file(hass):
|
||||
config_flow.DOMAIN,
|
||||
data={
|
||||
config_flow.CONF_HOST: "1.2.3.4",
|
||||
"hostname": "name",
|
||||
"properties": {"macaddress": "00408C12345"},
|
||||
},
|
||||
context={"source": "zeroconf"},
|
||||
|
||||
Reference in New Issue
Block a user