Use monitor name for uptimerobot device registry (#54456)
This commit is contained in:
parent
2d669a4613
commit
2f5c3c08ef
2 changed files with 2 additions and 1 deletions
|
@ -150,6 +150,7 @@ async def test_device_management(hass: HomeAssistant):
|
|||
assert len(devices) == 1
|
||||
|
||||
assert devices[0].identifiers == {(DOMAIN, "1234")}
|
||||
assert devices[0].name == "Test monitor"
|
||||
|
||||
assert hass.states.get(UPTIMEROBOT_TEST_ENTITY).state == STATE_ON
|
||||
assert hass.states.get(f"{UPTIMEROBOT_TEST_ENTITY}_2") is None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue