Skip to content
Open
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
127 changes: 126 additions & 1 deletion tests/data/devices/adurosmart-eria-adurolight-csc.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,131 @@
}
}
],
"event": [
{
"info_object": {
"fallback_name": null,
"unique_id": "ab:cd:ef:12:1a:8b:d4:d3-1-6",
"migrate_unique_ids": [],
"platform": "event",
"class_name": "OnOffEvent",
"translation_key": "on_off",
"translation_placeholders": null,
"device_class": null,
"state_class": null,
"entity_category": null,
"entity_registry_enabled_default": true,
"enabled": true,
"primary": false,
"cluster_handlers": [
{
"class_name": "OnOffClientClusterHandler",
"generic_id": "cluster_handler_0x0006_client",
"endpoint_id": 1,
"cluster": {
"id": 6,
"name": "On/Off",
"type": "client"
},
"id": "1:0x0006_client",
"unique_id": "ab:cd:ef:12:1a:8b:d4:d3:1:0x0006_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "ab:cd:ef:12:1a:8b:d4:d3",
"endpoint_id": 1,
"available": true,
"group_id": null
},
"state": {
"class_name": "OnOffEvent",
"available": true
}
},
{
"info_object": {
"fallback_name": null,
"unique_id": "ab:cd:ef:12:1a:8b:d4:d3-1-768",
"migrate_unique_ids": [],
"platform": "event",
"class_name": "ColorEvent",
"translation_key": "color",
"translation_placeholders": null,
"device_class": null,
"state_class": null,
"entity_category": null,
"entity_registry_enabled_default": true,
"enabled": true,
"primary": false,
"cluster_handlers": [
{
"class_name": "ColorClientClusterHandler",
"generic_id": "cluster_handler_0x0300_client",
"endpoint_id": 1,
"cluster": {
"id": 768,
"name": "Color Control",
"type": "client"
},
"id": "1:0x0300_client",
"unique_id": "ab:cd:ef:12:1a:8b:d4:d3:1:0x0300_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "ab:cd:ef:12:1a:8b:d4:d3",
"endpoint_id": 1,
"available": true,
"group_id": null
},
"state": {
"class_name": "ColorEvent",
"available": true
}
},
{
"info_object": {
"fallback_name": null,
"unique_id": "ab:cd:ef:12:1a:8b:d4:d3-1-8",
"migrate_unique_ids": [],
"platform": "event",
"class_name": "LevelControlEvent",
"translation_key": "level_control",
"translation_placeholders": null,
"device_class": null,
"state_class": null,
"entity_category": null,
"entity_registry_enabled_default": true,
"enabled": true,
"primary": false,
"cluster_handlers": [
{
"class_name": "LevelControlClientClusterHandler",
"generic_id": "cluster_handler_0x0008_client",
"endpoint_id": 1,
"cluster": {
"id": 8,
"name": "Level control",
"type": "client"
},
"id": "1:0x0008_client",
"unique_id": "ab:cd:ef:12:1a:8b:d4:d3:1:0x0008_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "ab:cd:ef:12:1a:8b:d4:d3",
"endpoint_id": 1,
"available": true,
"group_id": null
},
"state": {
"class_name": "LevelControlEvent",
"available": true
}
}
],
"sensor": [
{
"info_object": {
Expand Down Expand Up @@ -457,7 +582,7 @@
"entity_category": null,
"entity_registry_enabled_default": true,
"enabled": true,
"primary": true,
"primary": false,
"cluster_handlers": [
{
"class_name": "OnOffClusterHandler",
Expand Down
166 changes: 166 additions & 0 deletions tests/data/devices/aeotec-zga004.json
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,172 @@
}
}
],
"event": [
{
"info_object": {
"fallback_name": null,
"unique_id": "ab:cd:ef:12:3a:bc:09:e8-4-6",
"migrate_unique_ids": [],
"platform": "event",
"class_name": "OnOffEvent",
"translation_key": "on_off",
"translation_placeholders": null,
"device_class": null,
"state_class": null,
"entity_category": null,
"entity_registry_enabled_default": true,
"enabled": true,
"primary": false,
"cluster_handlers": [
{
"class_name": "OnOffClientClusterHandler",
"generic_id": "cluster_handler_0x0006_client",
"endpoint_id": 4,
"cluster": {
"id": 6,
"name": "On/Off",
"type": "client"
},
"id": "4:0x0006_client",
"unique_id": "ab:cd:ef:12:3a:bc:09:e8:4:0x0006_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "ab:cd:ef:12:3a:bc:09:e8",
"endpoint_id": 4,
"available": true,
"group_id": null
},
"state": {
"class_name": "OnOffEvent",
"available": true
}
},
{
"info_object": {
"fallback_name": null,
"unique_id": "ab:cd:ef:12:3a:bc:09:e8-4-8",
"migrate_unique_ids": [],
"platform": "event",
"class_name": "LevelControlEvent",
"translation_key": "level_control",
"translation_placeholders": null,
"device_class": null,
"state_class": null,
"entity_category": null,
"entity_registry_enabled_default": true,
"enabled": true,
"primary": false,
"cluster_handlers": [
{
"class_name": "LevelControlClientClusterHandler",
"generic_id": "cluster_handler_0x0008_client",
"endpoint_id": 4,
"cluster": {
"id": 8,
"name": "Level control",
"type": "client"
},
"id": "4:0x0008_client",
"unique_id": "ab:cd:ef:12:3a:bc:09:e8:4:0x0008_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "ab:cd:ef:12:3a:bc:09:e8",
"endpoint_id": 4,
"available": true,
"group_id": null
},
"state": {
"class_name": "LevelControlEvent",
"available": true
}
},
{
"info_object": {
"fallback_name": null,
"unique_id": "ab:cd:ef:12:3a:bc:09:e8-5-6",
"migrate_unique_ids": [],
"platform": "event",
"class_name": "OnOffEvent",
"translation_key": "on_off",
"translation_placeholders": null,
"device_class": null,
"state_class": null,
"entity_category": null,
"entity_registry_enabled_default": true,
"enabled": true,
"primary": false,
"cluster_handlers": [
{
"class_name": "OnOffClientClusterHandler",
"generic_id": "cluster_handler_0x0006_client",
"endpoint_id": 5,
"cluster": {
"id": 6,
"name": "On/Off",
"type": "client"
},
"id": "5:0x0006_client",
"unique_id": "ab:cd:ef:12:3a:bc:09:e8:5:0x0006_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "ab:cd:ef:12:3a:bc:09:e8",
"endpoint_id": 5,
"available": true,
"group_id": null
},
"state": {
"class_name": "OnOffEvent",
"available": true
}
},
{
"info_object": {
"fallback_name": null,
"unique_id": "ab:cd:ef:12:3a:bc:09:e8-5-8",
"migrate_unique_ids": [],
"platform": "event",
"class_name": "LevelControlEvent",
"translation_key": "level_control",
"translation_placeholders": null,
"device_class": null,
"state_class": null,
"entity_category": null,
"entity_registry_enabled_default": true,
"enabled": true,
"primary": false,
"cluster_handlers": [
{
"class_name": "LevelControlClientClusterHandler",
"generic_id": "cluster_handler_0x0008_client",
"endpoint_id": 5,
"cluster": {
"id": 8,
"name": "Level control",
"type": "client"
},
"id": "5:0x0008_client",
"unique_id": "ab:cd:ef:12:3a:bc:09:e8:5:0x0008_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "ab:cd:ef:12:3a:bc:09:e8",
"endpoint_id": 5,
"available": true,
"group_id": null
},
"state": {
"class_name": "LevelControlEvent",
"available": true
}
}
],
"sensor": [
{
"info_object": {
Expand Down
Loading
Loading