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
100 changes: 100 additions & 0 deletions tests/data/devices/adurosmart-eria-adurolight-csc.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,106 @@
"kwargs": {}
}
],
"event": [
{
"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,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:1a:8b:d4:d3",
"endpoint_id": 1,
"available": true,
"group_id": null,
"event_types": [
"off",
"on",
"toggle",
"off_with_effect",
"on_with_recall_global_scene",
"on_with_timed_off"
]
},
{
"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,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:1a:8b:d4:d3",
"endpoint_id": 1,
"available": true,
"group_id": null,
"event_types": [
"move_to_hue",
"move_hue",
"step_hue",
"move_to_saturation",
"move_saturation",
"step_saturation",
"move_to_hue_and_saturation",
"move_to_color",
"move_color",
"step_color",
"move_to_color_temp",
"enhanced_move_to_hue",
"enhanced_move_hue",
"enhanced_step_hue",
"enhanced_move_to_hue_and_saturation",
"color_loop_set",
"stop_move_step",
"move_color_temp",
"step_color_temp"
]
},
{
"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,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:1a:8b:d4:d3",
"endpoint_id": 1,
"available": true,
"group_id": null,
"event_types": [
"step",
"step_with_on_off",
"stop",
"move",
"move_with_on_off",
"move_to_level",
"move_to_level_with_on_off"
]
}
],
"sensor": [
{
"fallback_name": null,
Expand Down
116 changes: 116 additions & 0 deletions tests/data/devices/aeotec-zga004.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,122 @@
"supported_features": 240
}
],
"event": [
{
"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,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:3a:bc:09:e8",
"endpoint_id": 4,
"available": true,
"group_id": null,
"event_types": [
"off",
"on",
"toggle",
"off_with_effect",
"on_with_recall_global_scene",
"on_with_timed_off"
]
},
{
"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,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:3a:bc:09:e8",
"endpoint_id": 4,
"available": true,
"group_id": null,
"event_types": [
"step",
"step_with_on_off",
"stop",
"move",
"move_with_on_off",
"move_to_level",
"move_to_level_with_on_off"
]
},
{
"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,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:3a:bc:09:e8",
"endpoint_id": 5,
"available": true,
"group_id": null,
"event_types": [
"off",
"on",
"toggle",
"off_with_effect",
"on_with_recall_global_scene",
"on_with_timed_off"
]
},
{
"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,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:3a:bc:09:e8",
"endpoint_id": 5,
"available": true,
"group_id": null,
"event_types": [
"step",
"step_with_on_off",
"stop",
"move",
"move_with_on_off",
"move_to_level",
"move_to_level_with_on_off"
]
}
],
"sensor": [
{
"fallback_name": null,
Expand Down
100 changes: 100 additions & 0 deletions tests/data/devices/awox-ercu-ws-zm.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,106 @@
"kwargs": {}
}
],
"event": [
{
"fallback_name": null,
"unique_id": "ab:cd:ef:12:50:b9:32:f5-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,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:50:b9:32:f5",
"endpoint_id": 1,
"available": true,
"group_id": null,
"event_types": [
"off",
"on",
"toggle",
"off_with_effect",
"on_with_recall_global_scene",
"on_with_timed_off"
]
},
{
"fallback_name": null,
"unique_id": "ab:cd:ef:12:50:b9:32:f5-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,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:50:b9:32:f5",
"endpoint_id": 1,
"available": true,
"group_id": null,
"event_types": [
"move_to_hue",
"move_hue",
"step_hue",
"move_to_saturation",
"move_saturation",
"step_saturation",
"move_to_hue_and_saturation",
"move_to_color",
"move_color",
"step_color",
"move_to_color_temp",
"enhanced_move_to_hue",
"enhanced_move_hue",
"enhanced_step_hue",
"enhanced_move_to_hue_and_saturation",
"color_loop_set",
"stop_move_step",
"move_color_temp",
"step_color_temp"
]
},
{
"fallback_name": null,
"unique_id": "ab:cd:ef:12:50:b9:32:f5-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,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:50:b9:32:f5",
"endpoint_id": 1,
"available": true,
"group_id": null,
"event_types": [
"step",
"step_with_on_off",
"stop",
"move",
"move_with_on_off",
"move_to_level",
"move_to_level_with_on_off"
]
}
],
"sensor": [
{
"fallback_name": null,
Expand Down
30 changes: 30 additions & 0 deletions tests/data/devices/awox-esmlfzm-w6-dimm.json
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,36 @@
"kwargs": {}
}
],
"event": [
{
"fallback_name": null,
"unique_id": "ab:cd:ef:12:4f:a8:bc:46-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,
"extra_state_attribute_names": [],
"device_ieee": "ab:cd:ef:12:4f:a8:bc:46",
"endpoint_id": 1,
"available": true,
"group_id": null,
"event_types": [
"off",
"on",
"toggle",
"off_with_effect",
"on_with_recall_global_scene",
"on_with_timed_off"
]
}
],
"light": [
{
"fallback_name": null,
Expand Down
Loading
Loading