Prettier Zeroconf discovery name for Axis devices (#45216)
* Change zeroconf name to be based of prettier name rather than hostname to help user understand what device is discovered Have a full zeroconf discovery message in tests Clean up unusued globals * Use non-formatted serial number for config entry title as well
This commit is contained in:
parent
8151721fbc
commit
3cc45697cb
4 changed files with 24 additions and 27 deletions
|
@ -378,7 +378,7 @@ async def test_update_address(hass):
|
|||
data={
|
||||
"host": "2.3.4.5",
|
||||
"port": 80,
|
||||
"hostname": "name",
|
||||
"name": "name",
|
||||
"properties": {"macaddress": MAC},
|
||||
},
|
||||
context={"source": SOURCE_ZEROCONF},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue