Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,175 changes: 1,175 additions & 0 deletions tests/data/devices/aqara-lumi-switch-acn047-0x00000023.json

Large diffs are not rendered by default.

1,026 changes: 1,026 additions & 0 deletions tests/data/devices/aqara-lumi-switch-agl006-0x0000171b.json

Large diffs are not rendered by default.

1,276 changes: 1,276 additions & 0 deletions tests/data/devices/danfoss-etrv0103-0x00000020.json

Large diffs are not rendered by default.

677 changes: 677 additions & 0 deletions tests/data/devices/eurotronic-spzb0001-0x0162e9d2.json

Large diffs are not rendered by default.

441 changes: 441 additions & 0 deletions tests/data/devices/frient-a-s-kepzb-110-0x00020006.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,366 @@
{
"version": 3,
"ieee": "ab:cd:ef:12:7d:a7:c6:3b",
"nwk": "0x5E48",
"manufacturer": "IKEA of Sweden",
"model": "TRADFRI SHORTCUT Button",
"friendly_manufacturer": "IKEA of Sweden",
"friendly_model": "TRADFRI SHORTCUT Button",
"name": "IKEA of Sweden TRADFRI SHORTCUT Button",
"quirk_applied": true,
"quirk_class": "zhaquirks.ikea.shortcutbtn:IkeaTradfriShortcutBtn",
"exposes_features": [],
"manufacturer_code": 4476,
"power_source": "Battery or Unknown",
"lqi": 207,
"rssi": -68,
"last_seen": "2026-07-09T06:28:19.024604+00:00",
"available": true,
"device_type": "EndDevice",
"active_coordinator": false,
"node_descriptor": {
"logical_type": "EndDevice",
"complex_descriptor_available": false,
"user_descriptor_available": false,
"reserved": 0,
"aps_flags": 0,
"frequency_band": 8,
"mac_capability_flags": 128,
"manufacturer_code": 4476,
"maximum_buffer_size": 82,
"maximum_incoming_transfer_size": 82,
"server_mask": 11264,
"maximum_outgoing_transfer_size": 82,
"descriptor_capability_field": 0
},
"endpoints": {
"1": {
"profile_id": 260,
"device_type": {
"name": "NON_COLOR_CONTROLLER",
"id": 2080
},
"in_clusters": [
{
"cluster_id": "0x0000",
"endpoint_attribute": "basic",
"attributes": [
{
"id": "0x0004",
"name": "manufacturer",
"zcl_type": "string",
"value": "IKEA of Sweden"
},
{
"id": "0x0005",
"name": "model",
"zcl_type": "string",
"value": "TRADFRI SHORTCUT Button"
},
{
"id": "0x4000",
"name": "sw_build_id",
"zcl_type": "string",
"value": "2.3.015"
}
]
},
{
"cluster_id": "0x0001",
"endpoint_attribute": "power",
"attributes": [
{
"id": "0x0021",
"name": "battery_percentage_remaining",
"zcl_type": "uint8",
"value": 174
},
{
"id": "0x0033",
"name": "battery_quantity",
"zcl_type": "uint8",
"value": 1
},
{
"id": "0x0034",
"name": "battery_rated_voltage",
"zcl_type": "uint8",
"value": 30
},
{
"id": "0x0031",
"name": "battery_size",
"zcl_type": "enum8",
"value": 10
},
{
"id": "0x0020",
"name": "battery_voltage",
"zcl_type": "uint8",
"value": 29
}
]
},
{
"cluster_id": "0x0003",
"endpoint_attribute": "identify",
"attributes": []
},
{
"cluster_id": "0x0009",
"endpoint_attribute": "alarms",
"attributes": []
},
{
"cluster_id": "0x0020",
"endpoint_attribute": "poll_control",
"attributes": [
{
"id": "0x0003",
"name": "fast_poll_timeout",
"zcl_type": "uint16",
"value": 120
}
]
},
{
"cluster_id": "0x1000",
"endpoint_attribute": "lightlink",
"attributes": []
}
],
"out_clusters": [
{
"cluster_id": "0x0003",
"endpoint_attribute": "identify",
"attributes": []
},
{
"cluster_id": "0x0004",
"endpoint_attribute": "groups",
"attributes": []
},
{
"cluster_id": "0x0006",
"endpoint_attribute": "on_off",
"attributes": [
{
"id": "0x0000",
"name": "on_off",
"zcl_type": "bool",
"value": 1
}
]
},
{
"cluster_id": "0x0008",
"endpoint_attribute": "level",
"attributes": []
},
{
"cluster_id": "0x0019",
"endpoint_attribute": "ota",
"attributes": [
{
"id": "0x0002",
"name": "current_file_version",
"zcl_type": "uint32",
"value": 587290161
}
]
},
{
"cluster_id": "0x0102",
"endpoint_attribute": "window_covering",
"attributes": []
},
{
"cluster_id": "0x1000",
"endpoint_attribute": "lightlink",
"attributes": []
}
]
}
},
"original_signature": {
"manufacturer": "IKEA of Sweden",
"model": "TRADFRI SHORTCUT Button",
"node_desc": {
"logical_type": 2,
"complex_descriptor_available": 0,
"user_descriptor_available": 0,
"reserved": 0,
"aps_flags": 0,
"frequency_band": 8,
"mac_capability_flags": 128,
"manufacturer_code": 4476,
"maximum_buffer_size": 82,
"maximum_incoming_transfer_size": 82,
"server_mask": 11264,
"maximum_outgoing_transfer_size": 82,
"descriptor_capability_field": 0
},
"endpoints": {
"1": {
"profile_id": "0x0104",
"device_type": "0x0820",
"input_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x0009",
"0x0020",
"0x1000"
],
"output_clusters": [
"0x0003",
"0x0004",
"0x0006",
"0x0008",
"0x0019",
"0x0102",
"0x1000"
]
}
}
},
"zha_lib_entities": {
"button": [
{
"fallback_name": null,
"unique_id": "ab:cd:ef:12:7d:a7:c6:3b-1-3",
"migrate_unique_ids": [],
"platform": "button",
"class_name": "IdentifyButton",
"translation_key": null,
"translation_placeholders": null,
"device_class": "identify",
"state_class": null,
"entity_category": "diagnostic",
"entity_registry_enabled_default": true,
"enabled": true,
"primary": false,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:7d:a7:c6:3b",
"endpoint_id": 1,
"available": true,
"group_id": null,
"command": "identify",
"args": [
5
],
"kwargs": {}
}
],
"sensor": [
{
"fallback_name": null,
"unique_id": "ab:cd:ef:12:7d:a7:c6:3b-1-0-lqi",
"migrate_unique_ids": [],
"platform": "sensor",
"class_name": "LQISensor",
"translation_key": "lqi",
"translation_placeholders": null,
"device_class": null,
"state_class": "measurement",
"entity_category": "diagnostic",
"entity_registry_enabled_default": false,
"enabled": true,
"primary": false,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:7d:a7:c6:3b",
"endpoint_id": 1,
"available": true,
"group_id": null,
"native_value": 207,
"suggested_display_precision": null,
"unit": null
},
{
"fallback_name": null,
"unique_id": "ab:cd:ef:12:7d:a7:c6:3b-1-0-rssi",
"migrate_unique_ids": [],
"platform": "sensor",
"class_name": "RSSISensor",
"translation_key": "rssi",
"translation_placeholders": null,
"device_class": "signal_strength",
"state_class": "measurement",
"entity_category": "diagnostic",
"entity_registry_enabled_default": false,
"enabled": true,
"primary": false,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:7d:a7:c6:3b",
"endpoint_id": 1,
"available": true,
"group_id": null,
"native_value": -68,
"suggested_display_precision": null,
"unit": "dBm"
},
{
"fallback_name": null,
"unique_id": "ab:cd:ef:12:7d:a7:c6:3b-1-1",
"migrate_unique_ids": [],
"platform": "sensor",
"class_name": "Battery",
"translation_key": null,
"translation_placeholders": null,
"device_class": "battery",
"state_class": "measurement",
"entity_category": "diagnostic",
"entity_registry_enabled_default": true,
"enabled": true,
"primary": false,
"extra_state_attribute_names": [
"battery_quantity",
"battery_size",
"battery_voltage"
],
"device_ieee": "ab:cd:ef:12:7d:a7:c6:3b",
"endpoint_id": 1,
"available": true,
"group_id": null,
"native_value": 87.0,
"suggested_display_precision": 0,
"unit": "%",
"battery_size": "CR2032",
"battery_quantity": 1,
"battery_voltage": 2.9
}
],
"update": [
{
"fallback_name": null,
"unique_id": "ab:cd:ef:12:7d:a7:c6:3b-1-25-firmware_update",
"migrate_unique_ids": [],
"platform": "update",
"class_name": "FirmwareUpdateEntity",
"translation_key": null,
"translation_placeholders": null,
"device_class": "firmware",
"state_class": null,
"entity_category": "config",
"entity_registry_enabled_default": true,
"enabled": true,
"primary": false,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:7d:a7:c6:3b",
"endpoint_id": 1,
"available": true,
"group_id": null,
"installed_version": "0x23015631",
"in_progress": false,
"update_percentage": null,
"latest_version": null,
"release_summary": null,
"release_notes": null,
"release_url": null,
"supported_features": 23
}
]
},
"neighbors": [],
"routes": []
}
Loading
Loading