Skip to content
125 changes: 125 additions & 0 deletions tests/data/devices/awox-tlsr82xx.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,131 @@
}
}
],
"event": [
{
"info_object": {
"fallback_name": null,
"unique_id": "a4:c1:38:01:9c:d6:df:d1-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": "a4:c1:38:01:9c:d6:df:d1:1:0x0006_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "a4:c1:38:01:9c:d6:df:d1",
"endpoint_id": 1,
"available": true,
"group_id": null
},
"state": {
"class_name": "OnOffEvent",
"available": true
}
},
{
"info_object": {
"fallback_name": null,
"unique_id": "a4:c1:38:01:9c:d6:df:d1-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": "a4:c1:38:01:9c:d6:df:d1:1:0x0300_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "a4:c1:38:01:9c:d6:df:d1",
"endpoint_id": 1,
"available": true,
"group_id": null
},
"state": {
"class_name": "ColorEvent",
"available": true
}
},
{
"info_object": {
"fallback_name": null,
"unique_id": "a4:c1:38:01:9c:d6:df:d1-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": "a4:c1:38:01:9c:d6:df:d1:1:0x0008_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "a4:c1:38:01:9c:d6:df:d1",
"endpoint_id": 1,
"available": true,
"group_id": null
},
"state": {
"class_name": "LevelControlEvent",
"available": true
}
}
],
"sensor": [
{
"info_object": {
Expand Down
43 changes: 43 additions & 0 deletions tests/data/devices/ewelink-snzb-01p.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,49 @@
}
}
],
"event": [
{
"info_object": {
"fallback_name": null,
"unique_id": "84:ba:20:ff:fe:d2:41:fe-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": true,
"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": "84:ba:20:ff:fe:d2:41:fe:1:0x0006_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "84:ba:20:ff:fe:d2:41:fe",
"endpoint_id": 1,
"available": true,
"group_id": null
},
"state": {
"class_name": "OnOffEvent",
"available": true
}
}
],
"sensor": [
{
"info_object": {
Expand Down
43 changes: 43 additions & 0 deletions tests/data/devices/ewelink-wb01.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,49 @@
}
}
],
"event": [
{
"info_object": {
"fallback_name": null,
"unique_id": "00:12:4b:00:25:12:e0:f9-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": true,
"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": "00:12:4b:00:25:12:e0:f9:1:0x0006_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "00:12:4b:00:25:12:e0:f9",
"endpoint_id": 1,
"available": true,
"group_id": null
},
"state": {
"class_name": "OnOffEvent",
"available": true
}
}
],
"sensor": [
{
"info_object": {
Expand Down
86 changes: 85 additions & 1 deletion tests/data/devices/hobeian-zg-101zl.json
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,90 @@
}
}
],
"event": [
{
"info_object": {
"fallback_name": null,
"unique_id": "ab:cd:ef:12:41:15:95:9c-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:41:15:95:9c:1:0x0006_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "ab:cd:ef:12:41:15:95:9c",
"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:41:15:95:9c-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:41:15:95:9c:1:0x0008_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "ab:cd:ef:12:41:15:95:9c",
"endpoint_id": 1,
"available": true,
"group_id": null
},
"state": {
"class_name": "LevelControlEvent",
"available": true
}
}
],
"select": [
{
"info_object": {
Expand Down Expand Up @@ -596,7 +680,7 @@
"entity_category": null,
"entity_registry_enabled_default": true,
"enabled": true,
"primary": true,
"primary": false,
"cluster_handlers": [
{
"class_name": "OnOffClusterHandler",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
"entity_category": null,
"entity_registry_enabled_default": true,
"enabled": true,
"primary": true,
"primary": false,
"cluster_handlers": [
{
"class_name": "IASZoneClusterHandler",
Expand Down Expand Up @@ -313,6 +313,49 @@
}
}
],
"event": [
{
"info_object": {
"fallback_name": null,
"unique_id": "04:87:27:ff:fe:4a:b3:25-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": true,
"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": "04:87:27:ff:fe:4a:b3:25:1:0x0006_CLIENT",
"status": "INITIALIZED",
"value_attribute": null
}
],
"device_ieee": "04:87:27:ff:fe:4a:b3:25",
"endpoint_id": 1,
"available": true,
"group_id": null
},
"state": {
"class_name": "OnOffEvent",
"available": true
}
}
],
"sensor": [
{
"info_object": {
Expand Down
Loading
Loading