1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Add smartthings configuration_url (#58676)

This commit is contained in:
Robert Hillis
2021-11-14 14:37:40 -05:00
committed by GitHub
parent cd988bded0
commit 85aeee7cc7
9 changed files with 35 additions and 8 deletions

View File

@@ -32,6 +32,8 @@ async def test_entity_and_device_attributes(hass, device_factory):
entry = device_registry.async_get_device({(DOMAIN, device.device_id)})
assert entry
assert entry.configuration_url == "https://account.smartthings.com"
assert entry.identifiers == {(DOMAIN, device.device_id)}
assert entry.name == device.label
assert entry.model == device.device_type_name
assert entry.manufacturer == "Unavailable"