forked from home-assistant/core
Add integration back
This commit is contained in:
@@ -414,6 +414,7 @@ def async_devices_payload(hass: HomeAssistant) -> dict:
|
||||
new_indexes[device.id] = len(devices)
|
||||
devices.append(
|
||||
{
|
||||
"integration": config_entry.domain,
|
||||
"manufacturer": device.manufacturer,
|
||||
"model_id": device.model_id,
|
||||
"model": device.model,
|
||||
|
@@ -1008,6 +1008,7 @@ async def test_devices_payload(
|
||||
"model": "test-model",
|
||||
"sw_version": "test-sw-version",
|
||||
"hw_version": "test-hw-version",
|
||||
"integration": "test",
|
||||
"has_suggested_area": True,
|
||||
"has_configuration_url": True,
|
||||
"via_device": None,
|
||||
@@ -1018,6 +1019,7 @@ async def test_devices_payload(
|
||||
"model": None,
|
||||
"sw_version": None,
|
||||
"hw_version": None,
|
||||
"integration": "test",
|
||||
"has_suggested_area": False,
|
||||
"has_configuration_url": False,
|
||||
"via_device": 0,
|
||||
|
Reference in New Issue
Block a user