Normalize the display name of yeelight devices (#54883)

Co-authored-by: Teemu R. <tpr@iki.fi>
This commit is contained in:
J. Nick Koston 2021-08-20 16:32:48 -05:00 committed by GitHub
parent 71b8409c0d
commit 3cb7227040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 35 additions and 10 deletions

View file

@ -214,7 +214,7 @@ async def test_manual(hass: HomeAssistant):
)
await hass.async_block_till_done()
assert result4["type"] == "create_entry"
assert result4["title"] == "color 0x000000000015243f"
assert result4["title"] == "Color 0x15243f"
assert result4["data"] == {CONF_HOST: IP_ADDRESS, CONF_ID: "0x000000000015243f"}
# Duplicate