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

Add hardware version to the device registry (#61650)

This commit is contained in:
J. Nick Koston
2021-12-16 05:16:19 -06:00
committed by GitHub
parent b1b3079d07
commit 04153c0075
5 changed files with 206 additions and 28 deletions

View File

@@ -53,6 +53,7 @@ async def test_list_devices(hass, client, registry):
"model": "model",
"name": None,
"sw_version": None,
"hw_version": None,
"entry_type": None,
"via_device_id": None,
"area_id": None,
@@ -68,6 +69,7 @@ async def test_list_devices(hass, client, registry):
"model": "model",
"name": None,
"sw_version": None,
"hw_version": None,
"entry_type": helpers_dr.DeviceEntryType.SERVICE,
"via_device_id": dev1,
"area_id": None,