mirror of
https://github.com/home-assistant/core.git
synced 2026-11-23 06:07:01 -04:00
Add value ID to zwave_js device diagnostics (#78015)
This commit is contained in:
@@ -152,6 +152,7 @@ async def test_device_diagnostics_missing_primary_value(
|
||||
x for x in diagnostics_data["entities"] if x["entity_id"] == entity_id
|
||||
)
|
||||
|
||||
assert air_entity["value_id"] == value.value_id
|
||||
assert air_entity["primary_value"] == {
|
||||
"command_class": value.command_class,
|
||||
"command_class_name": value.command_class_name,
|
||||
@@ -189,4 +190,5 @@ async def test_device_diagnostics_missing_primary_value(
|
||||
x for x in diagnostics_data["entities"] if x["entity_id"] == entity_id
|
||||
)
|
||||
|
||||
assert air_entity["value_id"] == value.value_id
|
||||
assert air_entity["primary_value"] is None
|
||||
|
||||
Reference in New Issue
Block a user