Add integration back

This commit is contained in:
Paulus Schoutsen
2024-10-24 15:17:17 -04:00
parent b3a32b5f59
commit 98cff0bd74
2 changed files with 3 additions and 0 deletions

View File

@@ -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,

View File

@@ -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,