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

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