diff --git a/tests/data/devices/isilentllc-dog-feeder.json b/tests/data/devices/isilentllc-dog-feeder.json deleted file mode 100644 index 0abe6f8e..00000000 --- a/tests/data/devices/isilentllc-dog-feeder.json +++ /dev/null @@ -1,1100 +0,0 @@ -{ - "ieee": "00:13:a2:00:41:67:1f:d7", - "nwk": 47496, - "manufacturer": "iSilentLLC", - "model": "Dog Feeder", - "name": "iSilentLLC Dog Feeder", - "quirk_applied": false, - "quirk_class": "zigpy.device.Device", - "quirk_id": null, - "manufacturer_code": 4126, - "power_source": "Mains", - "lqi": 69, - "rssi": null, - "last_seen": "2024-08-26T14:48:17", - "available": true, - "device_type": "Router", - "signature": { - "node_descriptor": { - "logical_type": 1, - "complex_descriptor_available": 0, - "user_descriptor_available": 0, - "reserved": 0, - "aps_flags": 0, - "frequency_band": 8, - "mac_capability_flags": 142, - "manufacturer_code": 4126, - "maximum_buffer_size": 82, - "maximum_incoming_transfer_size": 255, - "server_mask": 0, - "maximum_outgoing_transfer_size": 255, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0002", - "input_clusters": [ - "0x0000", - "0x0006", - "0x000c", - "0x000d", - "0x000f", - "0x0012" - ], - "output_clusters": [] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0850", - "input_clusters": [ - "0x000f", - "0x0012" - ], - "output_clusters": [] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x0007", - "input_clusters": [ - "0x0012" - ], - "output_clusters": [] - }, - "4": { - "profile_id": "0x0104", - "device_type": "0x0850", - "input_clusters": [ - "0x000f" - ], - "output_clusters": [] - } - }, - "manufacturer": "iSilentLLC", - "model": "Dog Feeder" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "binary_sensor.isilentllc_dog_feeder_binary_input", - "name": "iSilentLLC Dog Feeder" - }, - { - "entity_id": "binary_sensor.isilentllc_dog_feeder_binary_input_2", - "name": "iSilentLLC Dog Feeder" - }, - { - "entity_id": "binary_sensor.isilentllc_dog_feeder_binary_input_3", - "name": "iSilentLLC Dog Feeder" - }, - { - "entity_id": "number.isilentllc_dog_feeder_number", - "name": "iSilentLLC Dog Feeder" - }, - { - "entity_id": "switch.isilentllc_dog_feeder_switch", - "name": "iSilentLLC Dog Feeder" - } - ], - "neighbors": [ - { - "device_type": "Coordinator", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:12:4b:00:25:90:19:2d", - "nwk": "0x0000", - "permit_joining": "Unknown", - "depth": "0", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "7c:b0:3e:aa:00:a4:34:be", - "nwk": "0x04D6", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "253" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:22:a3:00:00:25:db:00", - "nwk": "0x0F04", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "254" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:13:a2:00:41:93:fe:df", - "nwk": "0x29E5", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "254" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:13:a2:00:40:b1:90:06", - "nwk": "0x3E49", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "254" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "cc:cc:cc:ff:fe:d7:8e:af", - "nwk": "0x4691", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "250" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:13:a2:00:40:c0:4d:cb", - "nwk": "0x6100", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "251" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "f0:d1:b8:00:00:07:83:8e", - "nwk": "0x6404", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "241" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:22:a3:00:00:25:2c:24", - "nwk": "0x68BB", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:15:8d:00:04:27:01:b4", - "nwk": "0x696C", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "253" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:13:a2:00:41:95:c3:a6", - "nwk": "0x8B02", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "250" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:13:a2:00:40:c0:4e:54", - "nwk": "0x8F36", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "144" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:15:8d:00:04:44:ec:08", - "nwk": "0x8F9D", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "254" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:22:a3:00:00:25:17:33", - "nwk": "0xAEFD", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "254" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:22:a3:00:00:26:d3:61", - "nwk": "0xB811", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "254" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "7c:e5:24:00:00:06:c0:93", - "nwk": "0xC0FA", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "254" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:12:4b:00:1c:46:5f:b1", - "nwk": "0xE2CF", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "253" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "f0:f5:bd:ff:fe:2c:e0:90", - "nwk": "0xEE0B", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "f0:d1:b8:00:00:05:49:22", - "nwk": "0xEE12", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "250" - } - ], - "routes": [ - { - "dest_nwk": "0x8B02", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x8B02" - }, - { - "dest_nwk": "0x0000", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": true, - "route_record_required": false, - "next_hop": "0x0000" - }, - { - "dest_nwk": "0x0AE7", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x0AE7" - }, - { - "dest_nwk": "0x79AB", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x04D6" - }, - { - "dest_nwk": "0x8193", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x8193" - }, - { - "dest_nwk": "0x3E49", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x3E49" - }, - { - "dest_nwk": "0x62C7", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x0F04" - }, - { - "dest_nwk": "0x8F36", - "route_status": "Active", - "memory_constrained": true, - "many_to_one": true, - "route_record_required": true, - "next_hop": "0x8F9D" - }, - { - "dest_nwk": "0x334B", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xEE12" - }, - { - "dest_nwk": "0x13E7", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xC0FA" - }, - { - "dest_nwk": "0x9156", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x68BB" - }, - { - "dest_nwk": "0x8F9D", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x8F9D" - }, - { - "dest_nwk": "0x68BB", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x68BB" - }, - { - "dest_nwk": "0x6404", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x6404" - }, - { - "dest_nwk": "0xEC02", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xEC02" - }, - { - "dest_nwk": "0xA7AB", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xC0FA" - }, - { - "dest_nwk": "0x696C", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x696C" - }, - { - "dest_nwk": "0x90BD", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x90BD" - }, - { - "dest_nwk": "0xD53C", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xB811" - }, - { - "dest_nwk": "0x1B3F", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x1B3F" - }, - { - "dest_nwk": "0x4691", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x4691" - }, - { - "dest_nwk": "0x35E1", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x0F04" - }, - { - "dest_nwk": "0xEE0B", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x3E49" - }, - { - "dest_nwk": "0x3DD7", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x3DD7" - }, - { - "dest_nwk": "0x6100", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x6100" - }, - { - "dest_nwk": "0xE2CF", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xE2CF" - }, - { - "dest_nwk": "0xE44F", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x68BB" - }, - { - "dest_nwk": "0xC0FA", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xC0FA" - }, - { - "dest_nwk": "0xEE12", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xEE12" - }, - { - "dest_nwk": "0x0F04", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x0F04" - } - ], - "endpoint_names": [ - { - "name": "ON_OFF_OUTPUT" - }, - { - "name": "ON_OFF_SENSOR" - }, - { - "name": "COMBINED_INTERFACE" - }, - { - "name": "ON_OFF_SENSOR" - } - ], - "user_given_name": null, - "device_reg_id": "fffa13fdc6d544499816ac4a6be8980c", - "area_id": "hallway", - "cluster_details": { - "1": { - "device_type": { - "name": "ON_OFF_OUTPUT", - "id": 2 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0004": { - "attribute_name": "manufacturer", - "value": "iSilentLLC" - }, - "0x0005": { - "attribute_name": "model", - "value": "Dog Feeder" - } - }, - "unsupported_attributes": {} - }, - "0x000f": { - "endpoint_attribute": "binary_input", - "attributes": { - "0x001c": { - "attribute_name": "description", - "value": "Jammed" - }, - "0x0055": { - "attribute_name": "present_value", - "value": 0 - } - }, - "unsupported_attributes": {} - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 0.0 - } - }, - "unsupported_attributes": {} - }, - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 27.0 - } - }, - "unsupported_attributes": {} - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": { - "0x0000": { - "attribute_name": "on_off", - "value": 0 - } - }, - "unsupported_attributes": { - "0x4003": { - "attribute_name": "start_up_on_off" - } - } - }, - "0x000d": { - "endpoint_attribute": "analog_output", - "attributes": { - "0x0075": { - "attribute_name": "engineering_units", - "value": 95 - }, - "0x0041": { - "attribute_name": "max_present_value", - "value": 12.0 - }, - "0x0045": { - "attribute_name": "min_present_value", - "value": 1.0 - }, - "0x0055": { - "attribute_name": "present_value", - "value": 3.0 - } - }, - "unsupported_attributes": { - "0x0100": { - "attribute_name": "application_type" - }, - "0x0068": { - "attribute_name": "relinquish_default" - }, - "0x006a": { - "attribute_name": "resolution" - }, - "0x001c": { - "attribute_name": "description" - } - } - } - }, - "out_clusters": {} - }, - "2": { - "device_type": { - "name": "ON_OFF_SENSOR", - "id": 2128 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 0.0 - } - }, - "unsupported_attributes": {} - }, - "0x000f": { - "endpoint_attribute": "binary_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 0 - } - }, - "unsupported_attributes": {} - } - }, - "out_clusters": {} - }, - "3": { - "device_type": { - "name": "COMBINED_INTERFACE", - "id": 7 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": {}, - "unsupported_attributes": {} - } - }, - "out_clusters": {} - }, - "4": { - "device_type": { - "name": "ON_OFF_SENSOR", - "id": 2128 - }, - "profile_id": 260, - "in_clusters": { - "0x000f": { - "endpoint_attribute": "binary_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 0 - } - }, - "unsupported_attributes": {} - } - }, - "out_clusters": {} - } - }, - "zha_lib_entities": { - "binary_sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:41:67:1f:d7-1-15", - "platform": "binary_sensor", - "class_name": "BinaryInput", - "translation_key": "binary_input", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "BinaryInputClusterHandler", - "generic_id": "cluster_handler_0x000f", - "endpoint_id": 1, - "cluster": { - "id": 15, - "name": "Binary Input (Basic)", - "type": "server" - }, - "id": "1:0x000f", - "unique_id": "00:13:a2:00:41:67:1f:d7:1:0x000f", - "status": "CREATED", - "value_attribute": "present_value" - } - ], - "device_ieee": [ - 215, - 31, - 103, - 65, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute_name": "present_value" - }, - "state": { - "class_name": "BinaryInput", - "available": true, - "state": false - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:41:67:1f:d7-2-15", - "platform": "binary_sensor", - "class_name": "BinaryInput", - "translation_key": "binary_input", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "BinaryInputClusterHandler", - "generic_id": "cluster_handler_0x000f", - "endpoint_id": 2, - "cluster": { - "id": 15, - "name": "Binary Input (Basic)", - "type": "server" - }, - "id": "2:0x000f", - "unique_id": "00:13:a2:00:41:67:1f:d7:2:0x000f", - "status": "CREATED", - "value_attribute": "present_value" - } - ], - "device_ieee": [ - 215, - 31, - 103, - 65, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 2, - "available": true, - "group_id": null, - "attribute_name": "present_value" - }, - "state": { - "class_name": "BinaryInput", - "available": true, - "state": false - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:41:67:1f:d7-4-15", - "platform": "binary_sensor", - "class_name": "BinaryInput", - "translation_key": "binary_input", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "BinaryInputClusterHandler", - "generic_id": "cluster_handler_0x000f", - "endpoint_id": 4, - "cluster": { - "id": 15, - "name": "Binary Input (Basic)", - "type": "server" - }, - "id": "4:0x000f", - "unique_id": "00:13:a2:00:41:67:1f:d7:4:0x000f", - "status": "CREATED", - "value_attribute": "present_value" - } - ], - "device_ieee": [ - 215, - 31, - 103, - 65, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 4, - "available": true, - "group_id": null, - "attribute_name": "present_value" - }, - "state": { - "class_name": "BinaryInput", - "available": true, - "state": false - } - } - ], - "number": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:41:67:1f:d7-1-13", - "platform": "number", - "class_name": "Number", - "translation_key": "number", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "AnalogOutputClusterHandler", - "generic_id": "cluster_handler_0x000d", - "endpoint_id": 1, - "cluster": { - "id": 13, - "name": "AnalogOutput", - "type": "server" - }, - "id": "1:0x000d", - "unique_id": "00:13:a2:00:41:67:1f:d7:1:0x000d", - "status": "CREATED", - "value_attribute": "present_value" - } - ], - "device_ieee": [ - 215, - 31, - 103, - 65, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "engineering_units": 95, - "application_type": null, - "min_value": 1.0, - "max_value": 12.0, - "step": null - }, - "state": { - "class_name": "Number", - "available": true, - "state": 3.0 - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:41:67:1f:d7-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "Basic", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:13:a2:00:41:67:1f:d7:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 215, - 31, - 103, - 65, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": true, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:41:67:1f:d7-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "Basic", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:13:a2:00:41:67:1f:d7:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 215, - 31, - 103, - 65, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": true, - "state": 69 - } - } - ], - "switch": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:41:67:1f:d7-1-6", - "platform": "switch", - "class_name": "Switch", - "translation_key": "switch", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OnOffClusterHandler", - "generic_id": "cluster_handler_0x0006", - "endpoint_id": 1, - "cluster": { - "id": 6, - "name": "On/Off", - "type": "server" - }, - "id": "1:0x0006", - "unique_id": "00:13:a2:00:41:67:1f:d7:1:0x0006", - "status": "CREATED", - "value_attribute": "on_off" - } - ], - "device_ieee": [ - 215, - 31, - 103, - 65, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null - }, - "state": { - "class_name": "Switch", - "state": 0, - "available": true - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/isilentllc-masterbed-light-controller.json b/tests/data/devices/isilentllc-masterbed-light-controller.json deleted file mode 100644 index 8eb78093..00000000 --- a/tests/data/devices/isilentllc-masterbed-light-controller.json +++ /dev/null @@ -1,1176 +0,0 @@ -{ - "ieee": "00:13:a2:00:40:b1:90:06", - "nwk": 15945, - "manufacturer": "iSilentLLC", - "model": "MasterBed Light Controller", - "name": "iSilentLLC MasterBed Light Controller", - "quirk_applied": false, - "quirk_class": "zigpy.device.Device", - "quirk_id": null, - "manufacturer_code": 4126, - "power_source": "Mains", - "lqi": 69, - "rssi": null, - "last_seen": "2024-08-26T14:48:50", - "available": true, - "device_type": "Router", - "signature": { - "node_descriptor": { - "logical_type": 1, - "complex_descriptor_available": 0, - "user_descriptor_available": 0, - "reserved": 0, - "aps_flags": 0, - "frequency_band": 8, - "mac_capability_flags": 142, - "manufacturer_code": 4126, - "maximum_buffer_size": 82, - "maximum_incoming_transfer_size": 128, - "server_mask": 0, - "maximum_outgoing_transfer_size": 128, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0102", - "input_clusters": [ - "0x0000", - "0x0006", - "0x0008", - "0x0300" - ], - "output_clusters": [] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0850", - "input_clusters": [ - "0x000c", - "0x000d", - "0x000f" - ], - "output_clusters": [] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x0850", - "input_clusters": [ - "0x000c", - "0x000d", - "0x000f" - ], - "output_clusters": [] - }, - "4": { - "profile_id": "0x0104", - "device_type": "0x0302", - "input_clusters": [ - "0x0402", - "0x0405" - ], - "output_clusters": [] - } - }, - "manufacturer": "iSilentLLC", - "model": "MasterBed Light Controller" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "binary_sensor.isilentllc_masterbed_light_controller_binary_input", - "name": "iSilentLLC MasterBed Light Controller" - }, - { - "entity_id": "binary_sensor.isilentllc_masterbed_light_controller_binary_input_2", - "name": "iSilentLLC MasterBed Light Controller" - }, - { - "entity_id": "light.isilentllc_masterbed_light_controller_light", - "name": "iSilentLLC MasterBed Light Controller" - }, - { - "entity_id": "number.isilentllc_masterbed_light_controller_number", - "name": "iSilentLLC MasterBed Light Controller" - }, - { - "entity_id": "number.isilentllc_masterbed_light_controller_number_2", - "name": "iSilentLLC MasterBed Light Controller" - }, - { - "entity_id": "sensor.isilentllc_masterbed_light_controller_temperature", - "name": "iSilentLLC MasterBed Light Controller" - }, - { - "entity_id": "sensor.isilentllc_masterbed_light_controller_humidity", - "name": "iSilentLLC MasterBed Light Controller" - } - ], - "neighbors": [ - { - "device_type": "Coordinator", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:12:4b:00:25:90:19:2d", - "nwk": "0x0000", - "permit_joining": "Unknown", - "depth": "0", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:22:a3:00:00:25:db:00", - "nwk": "0x0F04", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "7c:e5:24:00:00:02:30:a7", - "nwk": "0x13E7", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "249" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:22:a3:00:00:25:2c:24", - "nwk": "0x68BB", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:13:a2:00:41:92:cf:47", - "nwk": "0x79AB", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:22:a3:00:00:25:1e:8a", - "nwk": "0xA7AB", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:22:a3:00:00:25:17:33", - "nwk": "0xAEFD", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "254" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:13:a2:00:41:67:1f:d7", - "nwk": "0xB988", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "254" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:12:4b:00:1c:46:5f:b1", - "nwk": "0xE2CF", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "254" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "NoneOfTheAbove", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "f0:d1:b8:00:00:05:49:22", - "nwk": "0xEE12", - "permit_joining": "Unknown", - "depth": "15", - "lqi": "255" - } - ], - "routes": [ - { - "dest_nwk": "0x0000", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": true, - "route_record_required": false, - "next_hop": "0x0000" - }, - { - "dest_nwk": "0x8F36", - "route_status": "Active", - "memory_constrained": true, - "many_to_one": true, - "route_record_required": true, - "next_hop": "0x68BB" - }, - { - "dest_nwk": "0x79AB", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x79AB" - }, - { - "dest_nwk": "0xA57B", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xA7AB" - }, - { - "dest_nwk": "0x35E1", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x0F04" - }, - { - "dest_nwk": "0x0F04", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x0F04" - }, - { - "dest_nwk": "0xA7AB", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xA7AB" - }, - { - "dest_nwk": "0xC0FA", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x13E7" - }, - { - "dest_nwk": "0xB988", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xB988" - }, - { - "dest_nwk": "0xEE0B", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xAEFD" - }, - { - "dest_nwk": "0x68BB", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x68BB" - }, - { - "dest_nwk": "0x13E7", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x68BB" - }, - { - "dest_nwk": "0x00A2", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xEE12" - }, - { - "dest_nwk": "0xE44F", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x68BB" - }, - { - "dest_nwk": "0x6114", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x0F04" - }, - { - "dest_nwk": "0x62C7", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x0F04" - } - ], - "endpoint_names": [ - { - "name": "COLOR_DIMMABLE_LIGHT" - }, - { - "name": "ON_OFF_SENSOR" - }, - { - "name": "ON_OFF_SENSOR" - }, - { - "name": "TEMPERATURE_SENSOR" - } - ], - "user_given_name": null, - "device_reg_id": "42d1999f141e41d59e563f942a64050f", - "area_id": "ac964c45c0b94b4784ee72177efba786", - "cluster_details": { - "1": { - "device_type": { - "name": "COLOR_DIMMABLE_LIGHT", - "id": 258 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0004": { - "attribute_name": "manufacturer", - "value": "iSilentLLC" - }, - "0x0005": { - "attribute_name": "model", - "value": "MasterBed Light Controller" - } - }, - "unsupported_attributes": {} - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": { - "0x0000": { - "attribute_name": "on_off", - "value": 0 - } - }, - "unsupported_attributes": { - "0x4003": { - "attribute_name": "start_up_on_off" - } - } - }, - "0x0008": { - "endpoint_attribute": "level", - "attributes": { - "0x0000": { - "attribute_name": "current_level", - "value": 254 - } - }, - "unsupported_attributes": { - "0x4000": { - "attribute_name": "start_up_current_level" - }, - "0x0014": { - "attribute_name": "default_move_rate" - }, - "0x0010": { - "attribute_name": "on_off_transition_time" - }, - "0x0012": { - "attribute_name": "on_transition_time" - }, - "0x0011": { - "attribute_name": "on_level" - }, - "0x0013": { - "attribute_name": "off_transition_time" - } - } - }, - "0x0300": { - "endpoint_attribute": "light_color", - "attributes": { - "0x400a": { - "attribute_name": "color_capabilities", - "value": 8 - }, - "0x0008": { - "attribute_name": "color_mode", - "value": 1 - }, - "0x0003": { - "attribute_name": "current_x", - "value": 21364 - }, - "0x0004": { - "attribute_name": "current_y", - "value": 21823 - }, - "0x000f": { - "attribute_name": "options", - "value": 0 - } - }, - "unsupported_attributes": { - "0x4000": { - "attribute_name": "enhanced_current_hue" - }, - "0x400b": { - "attribute_name": "color_temp_physical_min" - }, - "0x4002": { - "attribute_name": "color_loop_active" - }, - "0x0000": { - "attribute_name": "current_hue" - }, - "0x0001": { - "attribute_name": "current_saturation" - }, - "0x4010": { - "attribute_name": "start_up_color_temperature" - }, - "0x0007": { - "attribute_name": "color_temperature" - }, - "0x400c": { - "attribute_name": "color_temp_physical_max" - } - } - } - }, - "out_clusters": {} - }, - "2": { - "device_type": { - "name": "ON_OFF_SENSOR", - "id": 2128 - }, - "profile_id": 260, - "in_clusters": { - "0x000f": { - "endpoint_attribute": "binary_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 0 - } - }, - "unsupported_attributes": { - "0x0004": { - "attribute_name": "active_text" - } - } - }, - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0075": { - "attribute_name": "engineering_units", - "value": 5 - }, - "0x0055": { - "attribute_name": "present_value", - "value": 2.1322579383850098 - } - }, - "unsupported_attributes": { - "0x001c": { - "attribute_name": "description" - } - } - }, - "0x000d": { - "endpoint_attribute": "analog_output", - "attributes": { - "0x0075": { - "attribute_name": "engineering_units", - "value": 5 - }, - "0x0055": { - "attribute_name": "present_value", - "value": 1.5 - }, - "0x006a": { - "attribute_name": "resolution", - "value": 0.009999999776482582 - } - }, - "unsupported_attributes": { - "0x0100": { - "attribute_name": "application_type" - }, - "0x0041": { - "attribute_name": "max_present_value" - }, - "0x0045": { - "attribute_name": "min_present_value" - }, - "0x0068": { - "attribute_name": "relinquish_default" - }, - "0x001c": { - "attribute_name": "description" - } - } - } - }, - "out_clusters": {} - }, - "3": { - "device_type": { - "name": "ON_OFF_SENSOR", - "id": 2128 - }, - "profile_id": 260, - "in_clusters": { - "0x000f": { - "endpoint_attribute": "binary_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 0 - } - }, - "unsupported_attributes": {} - }, - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 1.122580647468567 - } - }, - "unsupported_attributes": { - "0x0100": { - "attribute_name": "application_type" - } - } - }, - "0x000d": { - "endpoint_attribute": "analog_output", - "attributes": { - "0x0075": { - "attribute_name": "engineering_units", - "value": 5 - }, - "0x0055": { - "attribute_name": "present_value", - "value": 1.5 - }, - "0x006a": { - "attribute_name": "resolution", - "value": 0.009999999776482582 - } - }, - "unsupported_attributes": { - "0x0100": { - "attribute_name": "application_type" - }, - "0x0041": { - "attribute_name": "max_present_value" - }, - "0x0045": { - "attribute_name": "min_present_value" - }, - "0x0068": { - "attribute_name": "relinquish_default" - }, - "0x001c": { - "attribute_name": "description" - } - } - } - }, - "out_clusters": {} - }, - "4": { - "device_type": { - "name": "TEMPERATURE_SENSOR", - "id": 770 - }, - "profile_id": 260, - "in_clusters": { - "0x0402": { - "endpoint_attribute": "temperature", - "attributes": { - "0x0000": { - "attribute_name": "measured_value", - "value": 2490 - } - }, - "unsupported_attributes": {} - }, - "0x0405": { - "endpoint_attribute": "humidity", - "attributes": { - "0x0000": { - "attribute_name": "measured_value", - "value": 4370 - } - }, - "unsupported_attributes": {} - } - }, - "out_clusters": {} - } - }, - "zha_lib_entities": { - "binary_sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:40:b1:90:06-2-15", - "platform": "binary_sensor", - "class_name": "BinaryInput", - "translation_key": "binary_input", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "BinaryInputClusterHandler", - "generic_id": "cluster_handler_0x000f", - "endpoint_id": 2, - "cluster": { - "id": 15, - "name": "Binary Input (Basic)", - "type": "server" - }, - "id": "2:0x000f", - "unique_id": "00:13:a2:00:40:b1:90:06:2:0x000f", - "status": "CREATED", - "value_attribute": "present_value" - } - ], - "device_ieee": [ - 6, - 144, - 177, - 64, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 2, - "available": true, - "group_id": null, - "attribute_name": "present_value" - }, - "state": { - "class_name": "BinaryInput", - "available": true, - "state": false - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:40:b1:90:06-3-15", - "platform": "binary_sensor", - "class_name": "BinaryInput", - "translation_key": "binary_input", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "BinaryInputClusterHandler", - "generic_id": "cluster_handler_0x000f", - "endpoint_id": 3, - "cluster": { - "id": 15, - "name": "Binary Input (Basic)", - "type": "server" - }, - "id": "3:0x000f", - "unique_id": "00:13:a2:00:40:b1:90:06:3:0x000f", - "status": "CREATED", - "value_attribute": "present_value" - } - ], - "device_ieee": [ - 6, - 144, - 177, - 64, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 3, - "available": true, - "group_id": null, - "attribute_name": "present_value" - }, - "state": { - "class_name": "BinaryInput", - "available": true, - "state": false - } - } - ], - "light": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:40:b1:90:06-1", - "platform": "light", - "class_name": "Light", - "translation_key": "light", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OnOffClusterHandler", - "generic_id": "cluster_handler_0x0006", - "endpoint_id": 1, - "cluster": { - "id": 6, - "name": "On/Off", - "type": "server" - }, - "id": "1:0x0006", - "unique_id": "00:13:a2:00:40:b1:90:06:1:0x0006", - "status": "CREATED", - "value_attribute": "on_off" - }, - { - "class_name": "LevelControlClusterHandler", - "generic_id": "cluster_handler_0x0008", - "endpoint_id": 1, - "cluster": { - "id": 8, - "name": "Level control", - "type": "server" - }, - "id": "1:0x0008", - "unique_id": "00:13:a2:00:40:b1:90:06:1:0x0008", - "status": "CREATED", - "value_attribute": "current_level" - }, - { - "class_name": "ColorClusterHandler", - "generic_id": "cluster_handler_0x0300", - "endpoint_id": 1, - "cluster": { - "id": 768, - "name": "Color Control", - "type": "server" - }, - "id": "1:0x0300", - "unique_id": "00:13:a2:00:40:b1:90:06:1:0x0300", - "status": "CREATED", - "value_attribute": "current_x" - } - ], - "device_ieee": [ - 6, - 144, - 177, - 64, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "effect_list": null, - "supported_features": 32, - "min_mireds": 153, - "max_mireds": 500 - }, - "state": { - "class_name": "Light", - "on": false, - "brightness": 254, - "hs_color": null, - "xy_color": [ - 0.32599374380102236, - 0.332997634851606 - ], - "color_temp": null, - "effect": null, - "supported_features": 32, - "color_mode": "xy", - "supported_color_modes": [ - "xy", - "onoff", - "brightness" - ], - "off_with_transition": false, - "off_brightness": 254, - "available": true - } - } - ], - "number": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:40:b1:90:06-2-13", - "platform": "number", - "class_name": "Number", - "translation_key": "number", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "AnalogOutputClusterHandler", - "generic_id": "cluster_handler_0x000d", - "endpoint_id": 2, - "cluster": { - "id": 13, - "name": "AnalogOutput", - "type": "server" - }, - "id": "2:0x000d", - "unique_id": "00:13:a2:00:40:b1:90:06:2:0x000d", - "status": "CREATED", - "value_attribute": "present_value" - } - ], - "device_ieee": [ - 6, - 144, - 177, - 64, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 2, - "available": true, - "group_id": null, - "engineering_units": 5, - "application_type": null, - "min_value": 0, - "max_value": 1023, - "step": 0.009999999776482582 - }, - "state": { - "class_name": "Number", - "available": true, - "state": 1.5 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:40:b1:90:06-3-13", - "platform": "number", - "class_name": "Number", - "translation_key": "number", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "AnalogOutputClusterHandler", - "generic_id": "cluster_handler_0x000d", - "endpoint_id": 3, - "cluster": { - "id": 13, - "name": "AnalogOutput", - "type": "server" - }, - "id": "3:0x000d", - "unique_id": "00:13:a2:00:40:b1:90:06:3:0x000d", - "status": "CREATED", - "value_attribute": "present_value" - } - ], - "device_ieee": [ - 6, - 144, - 177, - 64, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 3, - "available": true, - "group_id": null, - "engineering_units": 5, - "application_type": null, - "min_value": 0, - "max_value": 1023, - "step": 0.009999999776482582 - }, - "state": { - "class_name": "Number", - "available": true, - "state": 1.5 - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:40:b1:90:06-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "Basic", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:13:a2:00:40:b1:90:06:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 6, - 144, - 177, - 64, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": true, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:40:b1:90:06-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "Basic", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:13:a2:00:40:b1:90:06:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 6, - 144, - 177, - 64, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": true, - "state": 69 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:40:b1:90:06-4-1026", - "platform": "sensor", - "class_name": "Temperature", - "translation_key": null, - "device_class": "temperature", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "TemperatureMeasurementClusterHandler", - "generic_id": "cluster_handler_0x0402", - "endpoint_id": 4, - "cluster": { - "id": 1026, - "name": "Temperature Measurement", - "type": "server" - }, - "id": "4:0x0402", - "unique_id": "00:13:a2:00:40:b1:90:06:4:0x0402", - "status": "CREATED", - "value_attribute": "measured_value" - } - ], - "device_ieee": [ - 6, - 144, - 177, - 64, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 4, - "available": true, - "group_id": null, - "attribute": "measured_value", - "decimals": 1, - "divisor": 100, - "multiplier": 1, - "unit": "°C" - }, - "state": { - "class_name": "Temperature", - "available": true, - "state": 24.9 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:13:a2:00:40:b1:90:06-4-1029", - "platform": "sensor", - "class_name": "Humidity", - "translation_key": null, - "device_class": "humidity", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "RelativeHumidityClusterHandler", - "generic_id": "cluster_handler_0x0405", - "endpoint_id": 4, - "cluster": { - "id": 1029, - "name": "Relative Humidity Measurement", - "type": "server" - }, - "id": "4:0x0405", - "unique_id": "00:13:a2:00:40:b1:90:06:4:0x0405", - "status": "CREATED", - "value_attribute": "measured_value" - } - ], - "device_ieee": [ - 6, - 144, - 177, - 64, - 0, - 162, - 19, - 0 - ], - "endpoint_id": 4, - "available": true, - "group_id": null, - "attribute": "measured_value", - "decimals": 1, - "divisor": 100, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "Humidity", - "available": true, - "state": 43.7 - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/lumi-lumi-airmonitor-acn01.json b/tests/data/devices/lumi-lumi-airmonitor-acn01.json deleted file mode 100644 index 6321efb5..00000000 --- a/tests/data/devices/lumi-lumi-airmonitor-acn01.json +++ /dev/null @@ -1,1118 +0,0 @@ -{ - "ieee": "54:ef:44:10:00:10:61:a1", - "nwk": 46099, - "manufacturer": "LUMI", - "model": "lumi.airmonitor.acn01", - "name": "LUMI lumi.airmonitor.acn01", - "quirk_applied": true, - "quirk_class": "zhaquirks.xiaomi.aqara.tvoc.TVOCMonitor", - "quirk_id": null, - "manufacturer_code": 4447, - "power_source": "Battery or Unknown", - "lqi": null, - "rssi": null, - "last_seen": "2024-08-26T10:19:29", - "available": false, - "device_type": "EndDevice", - "signature": { - "node_descriptor": { - "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": 4447, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 11264, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0302", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0003", - "0x000c", - "0x0402", - "0x0405", - "0x042e", - "0xfcc0" - ], - "output_clusters": [ - "0x0019" - ] - } - }, - "manufacturer": "LUMI", - "model": "lumi.airmonitor.acn01" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "button.lumi_lumi_airmonitor_acn01_identify", - "name": "LUMI lumi.airmonitor.acn01" - }, - { - "entity_id": "sensor.lumi_lumi_airmonitor_acn01_battery", - "name": "LUMI lumi.airmonitor.acn01" - }, - { - "entity_id": "sensor.lumi_lumi_airmonitor_acn01_temperature", - "name": "LUMI lumi.airmonitor.acn01" - }, - { - "entity_id": "sensor.lumi_lumi_airmonitor_acn01_humidity", - "name": "LUMI lumi.airmonitor.acn01" - }, - { - "entity_id": "sensor.lumi_lumi_airmonitor_acn01_vocs", - "name": "LUMI lumi.airmonitor.acn01" - }, - { - "entity_id": "update.lumi_lumi_airmonitor_acn01_firmware", - "name": "LUMI lumi.airmonitor.acn01" - } - ], - "neighbors": [], - "routes": [], - "endpoint_names": [ - { - "name": "TEMPERATURE_SENSOR" - } - ], - "user_given_name": null, - "device_reg_id": "72843a47fc27d4b5b2897c48fc1d690c", - "area_id": null, - "cluster_details": { - "1": { - "device_type": { - "name": "TEMPERATURE_SENSOR", - "id": 770 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='app_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 24 - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='date_code', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='device_enabled', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='disable_local_config', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='generic_device_class', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='generic_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='hw_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='location_desc', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "LUMI" - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='manufacturer_version_details', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='model', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "lumi.airmonitor.acn01" - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='physical_env', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='power_source', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='product_code', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='product_label', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='product_url', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='serial_number', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='sw_build_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zcl_version', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0402": { - "endpoint_attribute": "temperature", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='max_measured_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='measured_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 2204 - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='min_measured_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='tolerance', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0001": { - "endpoint_attribute": "power", - "attributes": { - "0x0052": { - "attribute": "ZCLAttributeDef(id=0x0052, name='battery_2_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='battery_2_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005e": { - "attribute": "ZCLAttributeDef(id=0x005E, name='battery_2_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0050": { - "attribute": "ZCLAttributeDef(id=0x0050, name='battery_2_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005a": { - "attribute": "ZCLAttributeDef(id=0x005A, name='battery_2_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005b": { - "attribute": "ZCLAttributeDef(id=0x005B, name='battery_2_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005c": { - "attribute": "ZCLAttributeDef(id=0x005C, name='battery_2_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005d": { - "attribute": "ZCLAttributeDef(id=0x005D, name='battery_2_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='battery_2_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0053": { - "attribute": "ZCLAttributeDef(id=0x0053, name='battery_2_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0054": { - "attribute": "ZCLAttributeDef(id=0x0054, name='battery_2_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='battery_2_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0056": { - "attribute": "ZCLAttributeDef(id=0x0056, name='battery_2_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0057": { - "attribute": "ZCLAttributeDef(id=0x0057, name='battery_2_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0058": { - "attribute": "ZCLAttributeDef(id=0x0058, name='battery_2_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0059": { - "attribute": "ZCLAttributeDef(id=0x0059, name='battery_2_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0040": { - "attribute": "ZCLAttributeDef(id=0x0040, name='battery_2_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0072": { - "attribute": "ZCLAttributeDef(id=0x0072, name='battery_3_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='battery_3_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007e": { - "attribute": "ZCLAttributeDef(id=0x007E, name='battery_3_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0070": { - "attribute": "ZCLAttributeDef(id=0x0070, name='battery_3_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007a": { - "attribute": "ZCLAttributeDef(id=0x007A, name='battery_3_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007b": { - "attribute": "ZCLAttributeDef(id=0x007B, name='battery_3_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007c": { - "attribute": "ZCLAttributeDef(id=0x007C, name='battery_3_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007d": { - "attribute": "ZCLAttributeDef(id=0x007D, name='battery_3_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0061": { - "attribute": "ZCLAttributeDef(id=0x0061, name='battery_3_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0073": { - "attribute": "ZCLAttributeDef(id=0x0073, name='battery_3_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0074": { - "attribute": "ZCLAttributeDef(id=0x0074, name='battery_3_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0071": { - "attribute": "ZCLAttributeDef(id=0x0071, name='battery_3_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0076": { - "attribute": "ZCLAttributeDef(id=0x0076, name='battery_3_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0077": { - "attribute": "ZCLAttributeDef(id=0x0077, name='battery_3_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0078": { - "attribute": "ZCLAttributeDef(id=0x0078, name='battery_3_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0079": { - "attribute": "ZCLAttributeDef(id=0x0079, name='battery_3_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0060": { - "attribute": "ZCLAttributeDef(id=0x0060, name='battery_3_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0032": { - "attribute": "ZCLAttributeDef(id=0x0032, name='battery_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0035": { - "attribute": "ZCLAttributeDef(id=0x0035, name='battery_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003e": { - "attribute": "ZCLAttributeDef(id=0x003E, name='battery_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0030": { - "attribute": "ZCLAttributeDef(id=0x0030, name='battery_manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003a": { - "attribute": "ZCLAttributeDef(id=0x003A, name='battery_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003b": { - "attribute": "ZCLAttributeDef(id=0x003B, name='battery_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003c": { - "attribute": "ZCLAttributeDef(id=0x003C, name='battery_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003d": { - "attribute": "ZCLAttributeDef(id=0x003D, name='battery_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0021": { - "attribute": "ZCLAttributeDef(id=0x0021, name='battery_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 200 - }, - "0x0033": { - "attribute": "ZCLAttributeDef(id=0x0033, name='battery_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 1 - }, - "0x0034": { - "attribute": "ZCLAttributeDef(id=0x0034, name='battery_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0031": { - "attribute": "ZCLAttributeDef(id=0x0031, name='battery_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 7 - }, - "0x0036": { - "attribute": "ZCLAttributeDef(id=0x0036, name='battery_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0037": { - "attribute": "ZCLAttributeDef(id=0x0037, name='battery_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0038": { - "attribute": "ZCLAttributeDef(id=0x0038, name='battery_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0039": { - "attribute": "ZCLAttributeDef(id=0x0039, name='battery_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0020": { - "attribute": "ZCLAttributeDef(id=0x0020, name='battery_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 30 - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='mains_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='mains_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='mains_volt_max_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='mains_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='mains_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='mains_voltage_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [ - 33, - "battery_percentage_remaining" - ] - }, - "0x0405": { - "endpoint_attribute": "humidity", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='max_measured_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='measured_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 4146 - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='min_measured_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='tolerance', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='engineering_units', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='max_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0045": { - "attribute": "ZCLAttributeDef(id=0x0045, name='min_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 98.0 - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006a": { - "attribute": "ZCLAttributeDef(id=0x006A, name='resolution', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x042e": { - "endpoint_attribute": "voc_level", - "attributes": { - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='measured_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 42 - } - }, - "unsupported_attributes": [] - }, - "0xfcc0": { - "endpoint_attribute": "opple_cluster", - "attributes": { - "0x0114": { - "attribute": "ZCLAttributeDef(id=0x0114, name='display_unit', type=, access=, mandatory=False, is_manufacturer_specific=True)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x0019": { - "endpoint_attribute": "ota", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='current_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='downloaded_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='downloaded_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='file_offset', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='image_stamp', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='image_type_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='image_upgrade_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='manufacturer_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='minimum_block_req_delay', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='upgrade_activation_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='upgrade_server_id', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='upgrade_timeout_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - } - }, - "original_signature": { - "models_info": [ - [ - "LUMI", - "lumi.airmonitor.acn01" - ] - ], - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0302", - "input_clusters": [ - "0x0000", - "0x0003", - "0x0402", - "0x0405", - "0x0001", - "0x000c" - ], - "output_clusters": [ - "0x0019" - ] - } - } - }, - "zha_lib_entities": { - "button": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:10:61:a1-1-3", - "platform": "button", - "class_name": "IdentifyButton", - "translation_key": null, - "device_class": "identify", - "state_class": null, - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IdentifyClusterHandler", - "generic_id": "cluster_handler_0x0003", - "endpoint_id": 1, - "cluster": { - "id": 3, - "name": "Identify", - "type": "server" - }, - "id": "1:0x0003", - "unique_id": "54:ef:44:10:00:10:61:a1:1:0x0003", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 161, - 97, - 16, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "command": "identify", - "args": [ - 5 - ], - "kwargs": {} - }, - "state": { - "class_name": "IdentifyButton", - "available": false - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:10:61:a1-1-1", - "platform": "sensor", - "class_name": "Battery", - "translation_key": null, - "device_class": "battery", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "PowerConfigurationClusterHandler", - "generic_id": "cluster_handler_0x0001", - "endpoint_id": 1, - "cluster": { - "id": 1, - "name": "Power Configuration", - "type": "server" - }, - "id": "1:0x0001", - "unique_id": "54:ef:44:10:00:10:61:a1:1:0x0001", - "status": "CREATED", - "value_attribute": "battery_voltage" - } - ], - "device_ieee": [ - 161, - 97, - 16, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "battery_percentage_remaining", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "Battery", - "available": false, - "state": 100, - "battery_size": "CR2", - "battery_quantity": 1, - "battery_voltage": 3.0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:10:61:a1-1-1026", - "platform": "sensor", - "class_name": "Temperature", - "translation_key": null, - "device_class": "temperature", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "TemperatureMeasurementClusterHandler", - "generic_id": "cluster_handler_0x0402", - "endpoint_id": 1, - "cluster": { - "id": 1026, - "name": "Temperature Measurement", - "type": "server" - }, - "id": "1:0x0402", - "unique_id": "54:ef:44:10:00:10:61:a1:1:0x0402", - "status": "CREATED", - "value_attribute": "measured_value" - } - ], - "device_ieee": [ - 161, - 97, - 16, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "measured_value", - "decimals": 1, - "divisor": 100, - "multiplier": 1, - "unit": "°C" - }, - "state": { - "class_name": "Temperature", - "available": false, - "state": 22.0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:10:61:a1-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "54:ef:44:10:00:10:61:a1:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 161, - 97, - 16, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": false, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:10:61:a1-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "54:ef:44:10:00:10:61:a1:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 161, - 97, - 16, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": false, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:10:61:a1-1-1029", - "platform": "sensor", - "class_name": "Humidity", - "translation_key": null, - "device_class": "humidity", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "RelativeHumidityClusterHandler", - "generic_id": "cluster_handler_0x0405", - "endpoint_id": 1, - "cluster": { - "id": 1029, - "name": "Relative Humidity Measurement", - "type": "server" - }, - "id": "1:0x0405", - "unique_id": "54:ef:44:10:00:10:61:a1:1:0x0405", - "status": "CREATED", - "value_attribute": "measured_value" - } - ], - "device_ieee": [ - 161, - 97, - 16, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "measured_value", - "decimals": 1, - "divisor": 100, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "Humidity", - "available": false, - "state": 41.5 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:10:61:a1-1-1070", - "platform": "sensor", - "class_name": "PPBVOCLevel", - "translation_key": null, - "device_class": "volatile_organic_compounds_parts", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "ClusterHandler", - "generic_id": "cluster_handler_0x042e", - "endpoint_id": 1, - "cluster": { - "id": 1070, - "name": "VOC Level", - "type": "server" - }, - "id": "1:0x042e", - "unique_id": "54:ef:44:10:00:10:61:a1:1:0x042e", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 161, - 97, - 16, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "measured_value", - "decimals": 0, - "divisor": 1, - "multiplier": 1, - "unit": "ppb" - }, - "state": { - "class_name": "PPBVOCLevel", - "available": false, - "state": 42 - } - } - ], - "update": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:10:61:a1-1-25-firmware_update", - "platform": "update", - "class_name": "FirmwareUpdateEntity", - "translation_key": null, - "device_class": "firmware", - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OtaClientClusterHandler", - "generic_id": "cluster_handler_0x0019", - "endpoint_id": 1, - "cluster": { - "id": 25, - "name": "Ota", - "type": "client" - }, - "id": "1:0x0019", - "unique_id": "54:ef:44:10:00:10:61:a1:1:0x0019", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 161, - 97, - 16, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "supported_features": 7 - }, - "state": { - "class_name": "FirmwareUpdateEntity", - "available": false, - "installed_version": null, - "in_progress": false, - "progress": 0, - "latest_version": null, - "release_summary": null, - "release_url": null - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/lumi-lumi-plug-maus01.json b/tests/data/devices/lumi-lumi-plug-maus01.json deleted file mode 100644 index c50457ab..00000000 --- a/tests/data/devices/lumi-lumi-plug-maus01.json +++ /dev/null @@ -1,3400 +0,0 @@ -{ - "ieee": "00:15:8d:00:02:82:d0:78", - "nwk": 40889, - "manufacturer": "LUMI", - "model": "lumi.plug.maus01", - "name": "LUMI lumi.plug.maus01", - "quirk_applied": true, - "quirk_class": "zhaquirks.xiaomi.aqara.plug_maus01.Plug", - "quirk_id": null, - "manufacturer_code": 4447, - "power_source": "Mains", - "lqi": null, - "rssi": null, - "last_seen": "2024-08-26T10:14:56", - "available": false, - "device_type": "Router", - "signature": { - "node_descriptor": { - "logical_type": 1, - "complex_descriptor_available": 0, - "user_descriptor_available": 0, - "reserved": 0, - "aps_flags": 0, - "frequency_band": 8, - "mac_capability_flags": 142, - "manufacturer_code": 4447, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 0, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0051", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0002", - "0x0003", - "0x0004", - "0x0005", - "0x0006", - "0x000a", - "0x0010", - "0x0702", - "0x0b04", - "0xfcc0" - ], - "output_clusters": [ - "0x000a", - "0x0019" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0009", - "input_clusters": [ - "0x000c" - ], - "output_clusters": [ - "0x0004", - "0x000c" - ] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x0053", - "input_clusters": [ - "0x000c" - ], - "output_clusters": [ - "0x000c" - ] - }, - "100": { - "profile_id": "0x0104", - "device_type": "0x0107", - "input_clusters": [ - "0x000f" - ], - "output_clusters": [ - "0x0004", - "0x000f" - ] - } - }, - "manufacturer": "LUMI", - "model": "lumi.plug.maus01" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "binary_sensor.lumi_lumi_plug_maus01_binary_input", - "name": "LUMI lumi.plug.maus01" - }, - { - "entity_id": "button.lumi_lumi_plug_maus01_identify", - "name": "LUMI lumi.plug.maus01" - }, - { - "entity_id": "sensor.lumi_lumi_plug_maus01_apparent_power", - "name": "LUMI lumi.plug.maus01" - }, - { - "entity_id": "sensor.lumi_lumi_plug_maus01_current", - "name": "LUMI lumi.plug.maus01" - }, - { - "entity_id": "sensor.lumi_lumi_plug_maus01_voltage", - "name": "LUMI lumi.plug.maus01" - }, - { - "entity_id": "sensor.lumi_lumi_plug_maus01_ac_frequency", - "name": "LUMI lumi.plug.maus01" - }, - { - "entity_id": "sensor.lumi_lumi_plug_maus01_device_temperature", - "name": "LUMI lumi.plug.maus01" - }, - { - "entity_id": "sensor.lumi_lumi_plug_maus01_power", - "name": "LUMI lumi.plug.maus01" - }, - { - "entity_id": "sensor.lumi_lumi_plug_maus01_instantaneous_demand", - "name": "LUMI lumi.plug.maus01" - }, - { - "entity_id": "sensor.lumi_lumi_plug_maus01_summation_delivered", - "name": "LUMI lumi.plug.maus01" - }, - { - "entity_id": "switch.lumi_lumi_plug_maus01_switch", - "name": "LUMI lumi.plug.maus01" - }, - { - "entity_id": "update.lumi_lumi_plug_maus01_firmware", - "name": "LUMI lumi.plug.maus01" - } - ], - "neighbors": [ - { - "device_type": "Coordinator", - "rx_on_when_idle": "On", - "relationship": "Parent", - "extended_pan_id": "d8:1a:3b:68:86:49:fe:23", - "ieee": "00:0d:6f:00:0a:ff:74:55", - "nwk": "0x0000", - "permit_joining": "Unknown", - "depth": "0", - "lqi": "193" - }, - { - "device_type": "EndDevice", - "rx_on_when_idle": "Off", - "relationship": "Child", - "extended_pan_id": "d8:1a:3b:68:86:49:fe:23", - "ieee": "54:ef:44:10:00:1e:85:7f", - "nwk": "0xFC15", - "permit_joining": "Unknown", - "depth": "2", - "lqi": "103" - }, - { - "device_type": "EndDevice", - "rx_on_when_idle": "Off", - "relationship": "Child", - "extended_pan_id": "d8:1a:3b:68:86:49:fe:23", - "ieee": "54:ef:44:10:00:5a:6e:93", - "nwk": "0xBBED", - "permit_joining": "Unknown", - "depth": "2", - "lqi": "135" - }, - { - "device_type": "EndDevice", - "rx_on_when_idle": "Off", - "relationship": "Child", - "extended_pan_id": "d8:1a:3b:68:86:49:fe:23", - "ieee": "00:0d:6f:00:10:9a:14:65", - "nwk": "0x2EDE", - "permit_joining": "Unknown", - "depth": "2", - "lqi": "93" - }, - { - "device_type": "EndDevice", - "rx_on_when_idle": "Off", - "relationship": "Child", - "extended_pan_id": "d8:1a:3b:68:86:49:fe:23", - "ieee": "54:ef:44:10:00:25:88:0d", - "nwk": "0xA6C2", - "permit_joining": "Unknown", - "depth": "2", - "lqi": "81" - }, - { - "device_type": "EndDevice", - "rx_on_when_idle": "Off", - "relationship": "Child", - "extended_pan_id": "d8:1a:3b:68:86:49:fe:23", - "ieee": "00:15:8d:00:03:49:79:ba", - "nwk": "0x7CD3", - "permit_joining": "Unknown", - "depth": "2", - "lqi": "93" - }, - { - "device_type": "EndDevice", - "rx_on_when_idle": "Off", - "relationship": "Child", - "extended_pan_id": "d8:1a:3b:68:86:49:fe:23", - "ieee": "04:cf:8c:df:3c:75:c2:99", - "nwk": "0xF54A", - "permit_joining": "Unknown", - "depth": "2", - "lqi": "84" - }, - { - "device_type": "EndDevice", - "rx_on_when_idle": "Off", - "relationship": "Child", - "extended_pan_id": "d8:1a:3b:68:86:49:fe:23", - "ieee": "54:ef:44:10:00:40:a2:bb", - "nwk": "0x82FC", - "permit_joining": "Unknown", - "depth": "2", - "lqi": "132" - }, - { - "device_type": "EndDevice", - "rx_on_when_idle": "Off", - "relationship": "Child", - "extended_pan_id": "d8:1a:3b:68:86:49:fe:23", - "ieee": "54:ef:44:10:00:4f:fb:a7", - "nwk": "0x5A53", - "permit_joining": "Unknown", - "depth": "2", - "lqi": "131" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "d8:1a:3b:68:86:49:fe:23", - "ieee": "b0:ce:18:14:03:6b:9a:ee", - "nwk": "0xB27C", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "76" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "d8:1a:3b:68:86:49:fe:23", - "ieee": "00:0d:6f:00:0a:76:ec:9e", - "nwk": "0x8F9E", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "247" - } - ], - "routes": [ - { - "dest_nwk": "0xF54A", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xF54A" - }, - { - "dest_nwk": "0x82FC", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x82FC" - }, - { - "dest_nwk": "0x5A53", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x5A53" - }, - { - "dest_nwk": "0xBBED", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xBBED" - }, - { - "dest_nwk": "0x7CD3", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x7CD3" - }, - { - "dest_nwk": "0xA6C2", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xA6C2" - }, - { - "dest_nwk": "0xFC15", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFC15" - }, - { - "dest_nwk": "0x0000", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": true, - "route_record_required": false, - "next_hop": "0x0000" - }, - { - "dest_nwk": "0x2EDE", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x2EDE" - } - ], - "endpoint_names": [ - { - "name": "SMART_PLUG" - }, - { - "name": "MAIN_POWER_OUTLET" - }, - { - "name": "METER_INTERFACE" - }, - { - "name": "OCCUPANCY_SENSOR" - } - ], - "user_given_name": null, - "device_reg_id": "a27513d0f64649d4f4561b83824d6dc9", - "area_id": null, - "cluster_details": { - "1": { - "device_type": { - "name": "SMART_PLUG", - "id": 81 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='app_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 1 - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='date_code', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "05-02-2018" - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='device_enabled', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='disable_local_config', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='generic_device_class', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='generic_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='hw_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='location_desc', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "LUMI" - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='manufacturer_version_details', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='model', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "lumi.plug.maus01" - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='physical_env', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='power_source', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='product_code', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='product_label', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='product_url', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='serial_number', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='sw_build_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zcl_version', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0001": { - "endpoint_attribute": "power", - "attributes": { - "0x0052": { - "attribute": "ZCLAttributeDef(id=0x0052, name='battery_2_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='battery_2_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005e": { - "attribute": "ZCLAttributeDef(id=0x005E, name='battery_2_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0050": { - "attribute": "ZCLAttributeDef(id=0x0050, name='battery_2_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005a": { - "attribute": "ZCLAttributeDef(id=0x005A, name='battery_2_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005b": { - "attribute": "ZCLAttributeDef(id=0x005B, name='battery_2_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005c": { - "attribute": "ZCLAttributeDef(id=0x005C, name='battery_2_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005d": { - "attribute": "ZCLAttributeDef(id=0x005D, name='battery_2_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='battery_2_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0053": { - "attribute": "ZCLAttributeDef(id=0x0053, name='battery_2_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0054": { - "attribute": "ZCLAttributeDef(id=0x0054, name='battery_2_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='battery_2_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0056": { - "attribute": "ZCLAttributeDef(id=0x0056, name='battery_2_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0057": { - "attribute": "ZCLAttributeDef(id=0x0057, name='battery_2_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0058": { - "attribute": "ZCLAttributeDef(id=0x0058, name='battery_2_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0059": { - "attribute": "ZCLAttributeDef(id=0x0059, name='battery_2_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0040": { - "attribute": "ZCLAttributeDef(id=0x0040, name='battery_2_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0072": { - "attribute": "ZCLAttributeDef(id=0x0072, name='battery_3_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='battery_3_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007e": { - "attribute": "ZCLAttributeDef(id=0x007E, name='battery_3_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0070": { - "attribute": "ZCLAttributeDef(id=0x0070, name='battery_3_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007a": { - "attribute": "ZCLAttributeDef(id=0x007A, name='battery_3_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007b": { - "attribute": "ZCLAttributeDef(id=0x007B, name='battery_3_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007c": { - "attribute": "ZCLAttributeDef(id=0x007C, name='battery_3_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007d": { - "attribute": "ZCLAttributeDef(id=0x007D, name='battery_3_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0061": { - "attribute": "ZCLAttributeDef(id=0x0061, name='battery_3_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0073": { - "attribute": "ZCLAttributeDef(id=0x0073, name='battery_3_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0074": { - "attribute": "ZCLAttributeDef(id=0x0074, name='battery_3_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0071": { - "attribute": "ZCLAttributeDef(id=0x0071, name='battery_3_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0076": { - "attribute": "ZCLAttributeDef(id=0x0076, name='battery_3_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0077": { - "attribute": "ZCLAttributeDef(id=0x0077, name='battery_3_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0078": { - "attribute": "ZCLAttributeDef(id=0x0078, name='battery_3_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0079": { - "attribute": "ZCLAttributeDef(id=0x0079, name='battery_3_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0060": { - "attribute": "ZCLAttributeDef(id=0x0060, name='battery_3_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0032": { - "attribute": "ZCLAttributeDef(id=0x0032, name='battery_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0035": { - "attribute": "ZCLAttributeDef(id=0x0035, name='battery_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003e": { - "attribute": "ZCLAttributeDef(id=0x003E, name='battery_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0030": { - "attribute": "ZCLAttributeDef(id=0x0030, name='battery_manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003a": { - "attribute": "ZCLAttributeDef(id=0x003A, name='battery_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003b": { - "attribute": "ZCLAttributeDef(id=0x003B, name='battery_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003c": { - "attribute": "ZCLAttributeDef(id=0x003C, name='battery_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003d": { - "attribute": "ZCLAttributeDef(id=0x003D, name='battery_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0021": { - "attribute": "ZCLAttributeDef(id=0x0021, name='battery_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0033": { - "attribute": "ZCLAttributeDef(id=0x0033, name='battery_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0034": { - "attribute": "ZCLAttributeDef(id=0x0034, name='battery_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0031": { - "attribute": "ZCLAttributeDef(id=0x0031, name='battery_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0036": { - "attribute": "ZCLAttributeDef(id=0x0036, name='battery_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0037": { - "attribute": "ZCLAttributeDef(id=0x0037, name='battery_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0038": { - "attribute": "ZCLAttributeDef(id=0x0038, name='battery_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0039": { - "attribute": "ZCLAttributeDef(id=0x0039, name='battery_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0020": { - "attribute": "ZCLAttributeDef(id=0x0020, name='battery_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='mains_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='mains_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='mains_volt_max_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='mains_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='mains_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='mains_voltage_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [ - 32, - 33, - 49, - 51, - "battery_percentage_remaining", - "battery_quantity", - "battery_size", - "battery_voltage" - ] - }, - "0x0002": { - "endpoint_attribute": "device_temperature", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='current_temperature', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 4100 - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='dev_temp_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='high_temp_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='high_temp_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='low_temp_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='low_temp_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='max_temp_experienced', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='min_temp_experienced', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='over_temp_total_dwell', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0004": { - "endpoint_attribute": "groups", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='global_scene_control', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4002": { - "attribute": "ZCLAttributeDef(id=0x4002, name='off_wait_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='on_off', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 1 - }, - "0x4001": { - "attribute": "ZCLAttributeDef(id=0x4001, name='on_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4003": { - "attribute": "ZCLAttributeDef(id=0x4003, name='start_up_on_off', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [ - 16387, - "start_up_on_off" - ] - }, - "0x0005": { - "endpoint_attribute": "scenes", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='count', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_group', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='current_scene', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='last_configured_by', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='scene_valid', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0010": { - "endpoint_attribute": "binary_output", - "attributes": { - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='active_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='engineering_units', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x002e": { - "attribute": "ZCLAttributeDef(id=0x002E, name='inactive_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0042": { - "attribute": "ZCLAttributeDef(id=0x0042, name='minimum_off_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0043": { - "attribute": "ZCLAttributeDef(id=0x0043, name='minimum_on_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0054": { - "attribute": "ZCLAttributeDef(id=0x0054, name='polarity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0068": { - "attribute": "ZCLAttributeDef(id=0x0068, name='relinquish_default', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006a": { - "attribute": "ZCLAttributeDef(id=0x006A, name='resolution', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x000a": { - "endpoint_attribute": "time", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='dst_end', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='dst_shift', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='dst_start', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='last_set_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='local_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='standard_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='time_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='time_zone', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='valid_until_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0b04": { - "endpoint_attribute": "electrical_measurement", - "attributes": { - "0x0803": { - "attribute": "ZCLAttributeDef(id=0x0803, name='ac_active_power_overload', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0800": { - "attribute": "ZCLAttributeDef(id=0x0800, name='ac_alarms_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0603": { - "attribute": "ZCLAttributeDef(id=0x0603, name='ac_current_divisor', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0602": { - "attribute": "ZCLAttributeDef(id=0x0602, name='ac_current_multiplier', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0802": { - "attribute": "ZCLAttributeDef(id=0x0802, name='ac_current_overload', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0300": { - "attribute": "ZCLAttributeDef(id=0x0300, name='ac_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0401": { - "attribute": "ZCLAttributeDef(id=0x0401, name='ac_frequency_divisor', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0302": { - "attribute": "ZCLAttributeDef(id=0x0302, name='ac_frequency_max', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0301": { - "attribute": "ZCLAttributeDef(id=0x0301, name='ac_frequency_min', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0400": { - "attribute": "ZCLAttributeDef(id=0x0400, name='ac_frequency_multiplier', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0605": { - "attribute": "ZCLAttributeDef(id=0x0605, name='ac_power_divisor', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 10 - }, - "0x0604": { - "attribute": "ZCLAttributeDef(id=0x0604, name='ac_power_multiplier', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 1 - }, - "0x0804": { - "attribute": "ZCLAttributeDef(id=0x0804, name='ac_reactive_power_overload', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0601": { - "attribute": "ZCLAttributeDef(id=0x0601, name='ac_voltage_divisor', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0600": { - "attribute": "ZCLAttributeDef(id=0x0600, name='ac_voltage_multiplier', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0801": { - "attribute": "ZCLAttributeDef(id=0x0801, name='ac_voltage_overload', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0902": { - "attribute": "ZCLAttributeDef(id=0x0902, name='active_current_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a02": { - "attribute": "ZCLAttributeDef(id=0x0A02, name='active_current_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x050b": { - "attribute": "ZCLAttributeDef(id=0x050B, name='active_power', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 9 - }, - "0x050d": { - "attribute": "ZCLAttributeDef(id=0x050D, name='active_power_max', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x090d": { - "attribute": "ZCLAttributeDef(id=0x090D, name='active_power_max_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a0d": { - "attribute": "ZCLAttributeDef(id=0x0A0D, name='active_power_max_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x050c": { - "attribute": "ZCLAttributeDef(id=0x050C, name='active_power_min', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x090c": { - "attribute": "ZCLAttributeDef(id=0x090C, name='active_power_min_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a0c": { - "attribute": "ZCLAttributeDef(id=0x0A0C, name='active_power_min_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x090b": { - "attribute": "ZCLAttributeDef(id=0x090B, name='active_power_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a0b": { - "attribute": "ZCLAttributeDef(id=0x0A0B, name='active_power_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x050f": { - "attribute": "ZCLAttributeDef(id=0x050F, name='apparent_power', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x090f": { - "attribute": "ZCLAttributeDef(id=0x090F, name='apparent_power_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a0f": { - "attribute": "ZCLAttributeDef(id=0x0A0F, name='apparent_power_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0805": { - "attribute": "ZCLAttributeDef(id=0x0805, name='average_rms_over_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0512": { - "attribute": "ZCLAttributeDef(id=0x0512, name='average_rms_over_voltage_counter', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0912": { - "attribute": "ZCLAttributeDef(id=0x0912, name='average_rms_over_voltage_counter_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a12": { - "attribute": "ZCLAttributeDef(id=0x0A12, name='average_rms_over_voltage_counter_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0806": { - "attribute": "ZCLAttributeDef(id=0x0806, name='average_rms_under_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0513": { - "attribute": "ZCLAttributeDef(id=0x0513, name='average_rms_under_voltage_counter', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0511": { - "attribute": "ZCLAttributeDef(id=0x0511, name='average_rms_voltage_meas_period', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a11": { - "attribute": "ZCLAttributeDef(id=0x0A11, name='average_rms_voltage_meas_period_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0911": { - "attribute": "ZCLAttributeDef(id=0x0911, name='average_rms_voltage_measure_period_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0913": { - "attribute": "ZCLAttributeDef(id=0x0913, name='average_under_voltage_counter_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a13": { - "attribute": "ZCLAttributeDef(id=0x0A13, name='average_under_voltage_counter_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0103": { - "attribute": "ZCLAttributeDef(id=0x0103, name='dc_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0203": { - "attribute": "ZCLAttributeDef(id=0x0203, name='dc_current_divisor', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0105": { - "attribute": "ZCLAttributeDef(id=0x0105, name='dc_current_max', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0104": { - "attribute": "ZCLAttributeDef(id=0x0104, name='dc_current_min', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0202": { - "attribute": "ZCLAttributeDef(id=0x0202, name='dc_current_multiplier', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0702": { - "attribute": "ZCLAttributeDef(id=0x0702, name='dc_current_overload', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0700": { - "attribute": "ZCLAttributeDef(id=0x0700, name='dc_overload_alarms_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0106": { - "attribute": "ZCLAttributeDef(id=0x0106, name='dc_power', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0205": { - "attribute": "ZCLAttributeDef(id=0x0205, name='dc_power_divisor', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0108": { - "attribute": "ZCLAttributeDef(id=0x0108, name='dc_power_max', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0107": { - "attribute": "ZCLAttributeDef(id=0x0107, name='dc_power_min', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0204": { - "attribute": "ZCLAttributeDef(id=0x0204, name='dc_power_multiplier', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='dc_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0201": { - "attribute": "ZCLAttributeDef(id=0x0201, name='dc_voltage_divisor', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0102": { - "attribute": "ZCLAttributeDef(id=0x0102, name='dc_voltage_max', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0101": { - "attribute": "ZCLAttributeDef(id=0x0101, name='dc_voltage_min', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0200": { - "attribute": "ZCLAttributeDef(id=0x0200, name='dc_voltage_multiplier', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0701": { - "attribute": "ZCLAttributeDef(id=0x0701, name='dc_voltage_overload', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0404": { - "attribute": "ZCLAttributeDef(id=0x0404, name='harmonic_current_multiplier', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0502": { - "attribute": "ZCLAttributeDef(id=0x0502, name='instantaneous_active_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0501": { - "attribute": "ZCLAttributeDef(id=0x0501, name='instantaneous_line_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0504": { - "attribute": "ZCLAttributeDef(id=0x0504, name='instantaneous_power', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0503": { - "attribute": "ZCLAttributeDef(id=0x0503, name='instantaneous_reactive_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0500": { - "attribute": "ZCLAttributeDef(id=0x0500, name='instantaneous_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0901": { - "attribute": "ZCLAttributeDef(id=0x0901, name='line_current_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a01": { - "attribute": "ZCLAttributeDef(id=0x0A01, name='line_current_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x030c": { - "attribute": "ZCLAttributeDef(id=0x030C, name='meas11th_harmonic_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0307": { - "attribute": "ZCLAttributeDef(id=0x0307, name='meas1st_harmonic_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0308": { - "attribute": "ZCLAttributeDef(id=0x0308, name='meas3rd_harmonic_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0309": { - "attribute": "ZCLAttributeDef(id=0x0309, name='meas5th_harmonic_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x030a": { - "attribute": "ZCLAttributeDef(id=0x030A, name='meas7th_harmonic_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x030b": { - "attribute": "ZCLAttributeDef(id=0x030B, name='meas9th_harmonic_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0312": { - "attribute": "ZCLAttributeDef(id=0x0312, name='meas_phase11th_harmonic_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x030d": { - "attribute": "ZCLAttributeDef(id=0x030D, name='meas_phase1st_harmonic_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x030e": { - "attribute": "ZCLAttributeDef(id=0x030E, name='meas_phase3rd_harmonic_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x030f": { - "attribute": "ZCLAttributeDef(id=0x030F, name='meas_phase5th_harmonic_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0310": { - "attribute": "ZCLAttributeDef(id=0x0310, name='meas_phase7th_harmonic_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0311": { - "attribute": "ZCLAttributeDef(id=0x0311, name='meas_phase9th_harmonic_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='measurement_type', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0303": { - "attribute": "ZCLAttributeDef(id=0x0303, name='neutral_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0405": { - "attribute": "ZCLAttributeDef(id=0x0405, name='phase_harmonic_current_multiplier', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0403": { - "attribute": "ZCLAttributeDef(id=0x0403, name='power_divisor', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 1 - }, - "0x0510": { - "attribute": "ZCLAttributeDef(id=0x0510, name='power_factor', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0910": { - "attribute": "ZCLAttributeDef(id=0x0910, name='power_factor_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a10": { - "attribute": "ZCLAttributeDef(id=0x0A10, name='power_factor_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0402": { - "attribute": "ZCLAttributeDef(id=0x0402, name='power_multiplier', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 1 - }, - "0x0903": { - "attribute": "ZCLAttributeDef(id=0x0903, name='reactive_current_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a03": { - "attribute": "ZCLAttributeDef(id=0x0A03, name='reactive_current_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x050e": { - "attribute": "ZCLAttributeDef(id=0x050E, name='reactive_power', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x090e": { - "attribute": "ZCLAttributeDef(id=0x090E, name='reactive_power_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a0e": { - "attribute": "ZCLAttributeDef(id=0x0A0E, name='reactive_power_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0508": { - "attribute": "ZCLAttributeDef(id=0x0508, name='rms_current', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x050a": { - "attribute": "ZCLAttributeDef(id=0x050A, name='rms_current_max', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x090a": { - "attribute": "ZCLAttributeDef(id=0x090A, name='rms_current_max_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a0a": { - "attribute": "ZCLAttributeDef(id=0x0A0A, name='rms_current_max_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0509": { - "attribute": "ZCLAttributeDef(id=0x0509, name='rms_current_min', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0909": { - "attribute": "ZCLAttributeDef(id=0x0909, name='rms_current_min_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a09": { - "attribute": "ZCLAttributeDef(id=0x0A09, name='rms_current_min_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0908": { - "attribute": "ZCLAttributeDef(id=0x0908, name='rms_current_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a08": { - "attribute": "ZCLAttributeDef(id=0x0A08, name='rms_current_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0807": { - "attribute": "ZCLAttributeDef(id=0x0807, name='rms_extreme_over_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0514": { - "attribute": "ZCLAttributeDef(id=0x0514, name='rms_extreme_over_voltage_period', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0914": { - "attribute": "ZCLAttributeDef(id=0x0914, name='rms_extreme_over_voltage_period_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a14": { - "attribute": "ZCLAttributeDef(id=0x0A14, name='rms_extreme_over_voltage_period_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0808": { - "attribute": "ZCLAttributeDef(id=0x0808, name='rms_extreme_under_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0515": { - "attribute": "ZCLAttributeDef(id=0x0515, name='rms_extreme_under_voltage_period', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0915": { - "attribute": "ZCLAttributeDef(id=0x0915, name='rms_extreme_under_voltage_period_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a15": { - "attribute": "ZCLAttributeDef(id=0x0A15, name='rms_extreme_under_voltage_period_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0505": { - "attribute": "ZCLAttributeDef(id=0x0505, name='rms_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 0 - }, - "0x0507": { - "attribute": "ZCLAttributeDef(id=0x0507, name='rms_voltage_max', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0907": { - "attribute": "ZCLAttributeDef(id=0x0907, name='rms_voltage_max_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a07": { - "attribute": "ZCLAttributeDef(id=0x0A07, name='rms_voltage_max_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0506": { - "attribute": "ZCLAttributeDef(id=0x0506, name='rms_voltage_min', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0906": { - "attribute": "ZCLAttributeDef(id=0x0906, name='rms_voltage_min_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a06": { - "attribute": "ZCLAttributeDef(id=0x0A06, name='rms_voltage_min_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0905": { - "attribute": "ZCLAttributeDef(id=0x0905, name='rms_voltage_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a05": { - "attribute": "ZCLAttributeDef(id=0x0A05, name='rms_voltage_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0809": { - "attribute": "ZCLAttributeDef(id=0x0809, name='rms_voltage_sag', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0516": { - "attribute": "ZCLAttributeDef(id=0x0516, name='rms_voltage_sag_period', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0916": { - "attribute": "ZCLAttributeDef(id=0x0916, name='rms_voltage_sag_period_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a16": { - "attribute": "ZCLAttributeDef(id=0x0A16, name='rms_voltage_sag_period_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x080a": { - "attribute": "ZCLAttributeDef(id=0x080A, name='rms_voltage_swell', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0517": { - "attribute": "ZCLAttributeDef(id=0x0517, name='rms_voltage_swell_period', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0917": { - "attribute": "ZCLAttributeDef(id=0x0917, name='rms_voltage_swell_period_ph_b', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a17": { - "attribute": "ZCLAttributeDef(id=0x0A17, name='rms_voltage_swell_period_ph_c', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0304": { - "attribute": "ZCLAttributeDef(id=0x0304, name='total_active_power', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 5027 - }, - "0x0306": { - "attribute": "ZCLAttributeDef(id=0x0306, name='total_apparent_power', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0305": { - "attribute": "ZCLAttributeDef(id=0x0305, name='total_reactive_power', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [ - 0, - 1024, - 1025, - 1296, - 1536, - 1537, - 1538, - 1539, - "ac_current_divisor", - "ac_current_multiplier", - "ac_frequency_divisor", - "ac_frequency_multiplier", - "ac_voltage_divisor", - "ac_voltage_multiplier", - "measurement_type", - "power_factor" - ] - }, - "0xfcc0": { - "endpoint_attribute": "opple_cluster", - "attributes": {}, - "unsupported_attributes": [] - }, - "0x0702": { - "endpoint_attribute": "smartenergy_metering", - "attributes": { - "0x0020": { - "attribute": "ZCLAttributeDef(id=0x0020, name='active_register_tier_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0021": { - "attribute": "ZCLAttributeDef(id=0x0021, name='active_register_tier_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0314": { - "attribute": "ZCLAttributeDef(id=0x0314, name='alternative_consumption_formatting', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0313": { - "attribute": "ZCLAttributeDef(id=0x0313, name='alternative_demand_formatting', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0312": { - "attribute": "ZCLAttributeDef(id=0x0312, name='alternative_unit_of_measure', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a00": { - "attribute": "ZCLAttributeDef(id=0x0A00, name='bill_to_date', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a01": { - "attribute": "ZCLAttributeDef(id=0x0A01, name='bill_to_date_time_stamp', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0019": { - "attribute": "ZCLAttributeDef(id=0x0019, name='control_temperature', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0413": { - "attribute": "ZCLAttributeDef(id=0x0413, name='cur_month_max_energy_carr_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0414": { - "attribute": "ZCLAttributeDef(id=0x0414, name='cur_month_min_energy_carr_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0405": { - "attribute": "ZCLAttributeDef(id=0x0405, name='cur_part_profile_int_start_time_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0406": { - "attribute": "ZCLAttributeDef(id=0x0406, name='cur_part_profile_int_start_time_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0407": { - "attribute": "ZCLAttributeDef(id=0x0407, name='cur_part_profile_int_value_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0408": { - "attribute": "ZCLAttributeDef(id=0x0408, name='cur_part_profile_int_value_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0415": { - "attribute": "ZCLAttributeDef(id=0x0415, name='cur_year_max_energy_carr_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0416": { - "attribute": "ZCLAttributeDef(id=0x0416, name='cur_year_min_energy_carr_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='current_block', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='current_block_period_consump_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x001d": { - "attribute": "ZCLAttributeDef(id=0x001D, name='current_block_period_consump_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x001e": { - "attribute": "ZCLAttributeDef(id=0x001E, name='current_block_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x040d": { - "attribute": "ZCLAttributeDef(id=0x040D, name='current_day_max_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0409": { - "attribute": "ZCLAttributeDef(id=0x0409, name='current_day_max_pressure', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x040a": { - "attribute": "ZCLAttributeDef(id=0x040A, name='current_day_min_pressure', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0600": { - "attribute": "ZCLAttributeDef(id=0x0600, name='current_demand_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x001a": { - "attribute": "ZCLAttributeDef(id=0x001A, name='current_in_energy_carrier_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0015": { - "attribute": "ZCLAttributeDef(id=0x0015, name='current_in_energy_carrier_summ', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_max_demand_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='current_max_demand_delivered_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='current_max_demand_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='current_max_demand_received_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0206": { - "attribute": "ZCLAttributeDef(id=0x0206, name='current_meter_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x040f": { - "attribute": "ZCLAttributeDef(id=0x040F, name='current_month_max_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x001b": { - "attribute": "ZCLAttributeDef(id=0x001B, name='current_out_energy_carrier_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0016": { - "attribute": "ZCLAttributeDef(id=0x0016, name='current_out_energy_carrier_summ', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='current_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 5027 - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='current_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0112": { - "attribute": "ZCLAttributeDef(id=0x0112, name='current_tier10_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0113": { - "attribute": "ZCLAttributeDef(id=0x0113, name='current_tier10_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0114": { - "attribute": "ZCLAttributeDef(id=0x0114, name='current_tier11_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0115": { - "attribute": "ZCLAttributeDef(id=0x0115, name='current_tier11_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0116": { - "attribute": "ZCLAttributeDef(id=0x0116, name='current_tier12_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0117": { - "attribute": "ZCLAttributeDef(id=0x0117, name='current_tier12_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0118": { - "attribute": "ZCLAttributeDef(id=0x0118, name='current_tier13_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0119": { - "attribute": "ZCLAttributeDef(id=0x0119, name='current_tier13_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x011a": { - "attribute": "ZCLAttributeDef(id=0x011A, name='current_tier14_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x011b": { - "attribute": "ZCLAttributeDef(id=0x011B, name='current_tier14_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x011c": { - "attribute": "ZCLAttributeDef(id=0x011C, name='current_tier15_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x011d": { - "attribute": "ZCLAttributeDef(id=0x011D, name='current_tier15_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='current_tier1_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0101": { - "attribute": "ZCLAttributeDef(id=0x0101, name='current_tier1_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0102": { - "attribute": "ZCLAttributeDef(id=0x0102, name='current_tier2_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0103": { - "attribute": "ZCLAttributeDef(id=0x0103, name='current_tier2_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0104": { - "attribute": "ZCLAttributeDef(id=0x0104, name='current_tier3_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0105": { - "attribute": "ZCLAttributeDef(id=0x0105, name='current_tier3_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0106": { - "attribute": "ZCLAttributeDef(id=0x0106, name='current_tier4_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0107": { - "attribute": "ZCLAttributeDef(id=0x0107, name='current_tier4_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0108": { - "attribute": "ZCLAttributeDef(id=0x0108, name='current_tier5_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0109": { - "attribute": "ZCLAttributeDef(id=0x0109, name='current_tier5_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x010a": { - "attribute": "ZCLAttributeDef(id=0x010A, name='current_tier6_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x010b": { - "attribute": "ZCLAttributeDef(id=0x010B, name='current_tier6_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x010c": { - "attribute": "ZCLAttributeDef(id=0x010C, name='current_tier7_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x010d": { - "attribute": "ZCLAttributeDef(id=0x010D, name='current_tier7_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x010e": { - "attribute": "ZCLAttributeDef(id=0x010E, name='current_tier8_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x010f": { - "attribute": "ZCLAttributeDef(id=0x010F, name='current_tier8_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0110": { - "attribute": "ZCLAttributeDef(id=0x0110, name='current_tier9_summ_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0111": { - "attribute": "ZCLAttributeDef(id=0x0111, name='current_tier9_summ_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0410": { - "attribute": "ZCLAttributeDef(id=0x0410, name='current_year_max_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0401": { - "attribute": "ZCLAttributeDef(id=0x0401, name='currentday_consump_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0402": { - "attribute": "ZCLAttributeDef(id=0x0402, name='currentday_consump_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0411": { - "attribute": "ZCLAttributeDef(id=0x0411, name='currentday_max_energy_carr_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0311": { - "attribute": "ZCLAttributeDef(id=0x0311, name='customer_id_number', type=.LimitedLVBytes'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='daily_consump_target', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='daily_freeze_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='default_update_period', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0304": { - "attribute": "ZCLAttributeDef(id=0x0304, name='demand_formatting', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0602": { - "attribute": "ZCLAttributeDef(id=0x0602, name='demand_integration_period', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0601": { - "attribute": "ZCLAttributeDef(id=0x0601, name='demand_limit', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0604": { - "attribute": "ZCLAttributeDef(id=0x0604, name='demand_limit_arm_duration', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='dft_summ', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x001f": { - "attribute": "ZCLAttributeDef(id=0x001F, name='dft_summation_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0302": { - "attribute": "ZCLAttributeDef(id=0x0302, name='divisor', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 1000 - }, - "0x0801": { - "attribute": "ZCLAttributeDef(id=0x0801, name='electricity_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x030b": { - "attribute": "ZCLAttributeDef(id=0x030B, name='energy_carrier_demand_formatting', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x030a": { - "attribute": "ZCLAttributeDef(id=0x030A, name='energy_carrier_summ_formatting', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0309": { - "attribute": "ZCLAttributeDef(id=0x0309, name='energy_carrier_unit_of_meas', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0806": { - "attribute": "ZCLAttributeDef(id=0x0806, name='extended_generic_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0204": { - "attribute": "ZCLAttributeDef(id=0x0204, name='extended_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='fast_poll_update_period', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='flow_restriction', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0805": { - "attribute": "ZCLAttributeDef(id=0x0805, name='gas_specific_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0802": { - "attribute": "ZCLAttributeDef(id=0x0802, name='gen_flow_pressure_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0800": { - "attribute": "ZCLAttributeDef(id=0x0800, name='generic_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0804": { - "attribute": "ZCLAttributeDef(id=0x0804, name='heat_cool_specific_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0305": { - "attribute": "ZCLAttributeDef(id=0x0305, name='historical_consump_formatting', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0203": { - "attribute": "ZCLAttributeDef(id=0x0203, name='hours_in_fault', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0202": { - "attribute": "ZCLAttributeDef(id=0x0202, name='hours_in_operation', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0207": { - "attribute": "ZCLAttributeDef(id=0x0207, name='iambient_consumption_indicator', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0017": { - "attribute": "ZCLAttributeDef(id=0x0017, name='inlet_temperature', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0400": { - "attribute": "ZCLAttributeDef(id=0x0400, name='instantaneous_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0022": { - "attribute": "ZCLAttributeDef(id=0x0022, name='last_block_switch_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0807": { - "attribute": "ZCLAttributeDef(id=0x0807, name='manufacture_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0500": { - "attribute": "ZCLAttributeDef(id=0x0500, name='max_number_of_periods_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0308": { - "attribute": "ZCLAttributeDef(id=0x0308, name='meter_serial_number', type=.LimitedLVBytes'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0306": { - "attribute": "ZCLAttributeDef(id=0x0306, name='metering_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 0 - }, - "0x030e": { - "attribute": "ZCLAttributeDef(id=0x030E, name='module_serial_number', type=.LimitedLVBytes'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0301": { - "attribute": "ZCLAttributeDef(id=0x0301, name='multiplier', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 1 - }, - "0x0603": { - "attribute": "ZCLAttributeDef(id=0x0603, name='number_of_demand_subintervals', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x030f": { - "attribute": "ZCLAttributeDef(id=0x030F, name='operating_tariff_label_delivered', type=.LimitedLVBytes'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0310": { - "attribute": "ZCLAttributeDef(id=0x0310, name='operating_tariff_label_received', type=.LimitedLVBytes'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0018": { - "attribute": "ZCLAttributeDef(id=0x0018, name='outlet_temperature', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='power_factor', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='preset_reading_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x040e": { - "attribute": "ZCLAttributeDef(id=0x040E, name='previous_day_max_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x040b": { - "attribute": "ZCLAttributeDef(id=0x040B, name='previous_day_max_pressure', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x040c": { - "attribute": "ZCLAttributeDef(id=0x040C, name='previous_day_min_pressure', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0403": { - "attribute": "ZCLAttributeDef(id=0x0403, name='previousday_consump_delivered', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0404": { - "attribute": "ZCLAttributeDef(id=0x0404, name='previousday_consump_received', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0412": { - "attribute": "ZCLAttributeDef(id=0x0412, name='previousday_max_energy_carr_demand', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000f": { - "attribute": "ZCLAttributeDef(id=0x000F, name='profile_interval_period', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a02": { - "attribute": "ZCLAttributeDef(id=0x0A02, name='projected_bill', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0a03": { - "attribute": "ZCLAttributeDef(id=0x0A03, name='projected_bill_time_stamp', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='reading_snapshot_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0201": { - "attribute": "ZCLAttributeDef(id=0x0201, name='remaining_battery_life', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0205": { - "attribute": "ZCLAttributeDef(id=0x0205, name='remaining_battery_life_days', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0307": { - "attribute": "ZCLAttributeDef(id=0x0307, name='site_id', type=.LimitedLVBytes'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0200": { - "attribute": "ZCLAttributeDef(id=0x0200, name='status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0303": { - "attribute": "ZCLAttributeDef(id=0x0303, name='summation_formatting', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 35 - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='supply_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x030d": { - "attribute": "ZCLAttributeDef(id=0x030D, name='temperature_formatting', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x030c": { - "attribute": "ZCLAttributeDef(id=0x030C, name='temperature_unit_of_measure', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0300": { - "attribute": "ZCLAttributeDef(id=0x0300, name='unit_of_measure', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 0 - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='volume_per_report', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0803": { - "attribute": "ZCLAttributeDef(id=0x0803, name='water_specific_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x0019": { - "endpoint_attribute": "ota", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 11 - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='current_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='downloaded_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='downloaded_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='file_offset', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='image_stamp', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='image_type_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='image_upgrade_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='manufacturer_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='minimum_block_req_delay', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='upgrade_activation_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='upgrade_server_id', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='upgrade_timeout_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x000a": { - "endpoint_attribute": "time", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='dst_end', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='dst_shift', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='dst_start', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='last_set_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='local_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='standard_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='time_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='time_zone', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='valid_until_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - }, - "2": { - "device_type": { - "name": "MAIN_POWER_OUTLET", - "id": 9 - }, - "profile_id": 260, - "in_clusters": { - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='engineering_units', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='max_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0045": { - "attribute": "ZCLAttributeDef(id=0x0045, name='min_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 0.9399999976158142 - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006a": { - "attribute": "ZCLAttributeDef(id=0x006A, name='resolution', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='engineering_units', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='max_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0045": { - "attribute": "ZCLAttributeDef(id=0x0045, name='min_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006a": { - "attribute": "ZCLAttributeDef(id=0x006A, name='resolution', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0004": { - "endpoint_attribute": "groups", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - }, - "3": { - "device_type": { - "name": "METER_INTERFACE", - "id": 83 - }, - "profile_id": 260, - "in_clusters": { - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='engineering_units', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='max_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0045": { - "attribute": "ZCLAttributeDef(id=0x0045, name='min_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 0.274497389793396 - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006a": { - "attribute": "ZCLAttributeDef(id=0x006A, name='resolution', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='engineering_units', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='max_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0045": { - "attribute": "ZCLAttributeDef(id=0x0045, name='min_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006a": { - "attribute": "ZCLAttributeDef(id=0x006A, name='resolution', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - }, - "100": { - "device_type": { - "name": "OCCUPANCY_SENSOR", - "id": 263 - }, - "profile_id": 260, - "in_clusters": { - "0x000f": { - "endpoint_attribute": "binary_input", - "attributes": { - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='active_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x002e": { - "attribute": "ZCLAttributeDef(id=0x002E, name='inactive_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0054": { - "attribute": "ZCLAttributeDef(id=0x0054, name='polarity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 0 - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x000f": { - "endpoint_attribute": "binary_input", - "attributes": { - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='active_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x002e": { - "attribute": "ZCLAttributeDef(id=0x002E, name='inactive_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0054": { - "attribute": "ZCLAttributeDef(id=0x0054, name='polarity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0004": { - "endpoint_attribute": "groups", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - } - }, - "original_signature": { - "models_info": [ - [ - "LUMI", - "lumi.plug.maus01" - ], - [ - "LUMI", - "lumi.plug.mitw01" - ] - ], - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0051", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0002", - "0x0004", - "0x0003", - "0x0006", - "0x0005", - "0x0010", - "0x000a", - "0x0b04" - ], - "output_clusters": [ - "0x0019", - "0x000a" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0009", - "input_clusters": [ - "0x000c" - ], - "output_clusters": [ - "0x000c", - "0x0004" - ] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x0053", - "input_clusters": [ - "0x000c" - ], - "output_clusters": [ - "0x000c" - ] - }, - "100": { - "profile_id": "0x0104", - "device_type": "0x0107", - "input_clusters": [ - "0x000f" - ], - "output_clusters": [ - "0x000f", - "0x0004" - ] - } - } - }, - "zha_lib_entities": { - "binary_sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-100-15", - "platform": "binary_sensor", - "class_name": "BinaryInput", - "translation_key": "binary_input", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "BinaryInputClusterHandler", - "generic_id": "cluster_handler_0x000f", - "endpoint_id": 100, - "cluster": { - "id": 15, - "name": "Binary Input (Basic)", - "type": "server" - }, - "id": "100:0x000f", - "unique_id": "00:15:8d:00:02:82:d0:78:100:0x000f", - "status": "CREATED", - "value_attribute": "present_value" - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 100, - "available": false, - "group_id": null, - "attribute_name": "present_value" - }, - "state": { - "class_name": "BinaryInput", - "available": false, - "state": false - } - } - ], - "button": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1-3", - "platform": "button", - "class_name": "IdentifyButton", - "translation_key": null, - "device_class": "identify", - "state_class": null, - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IdentifyClusterHandler", - "generic_id": "cluster_handler_0x0003", - "endpoint_id": 1, - "cluster": { - "id": 3, - "name": "Identify", - "type": "server" - }, - "id": "1:0x0003", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0003", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "command": "identify", - "args": [ - 5 - ], - "kwargs": {} - }, - "state": { - "class_name": "IdentifyButton", - "available": false - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1-2820-apparent_power", - "platform": "sensor", - "class_name": "ElectricalMeasurementApparentPower", - "translation_key": null, - "device_class": "apparent_power", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "ElectricalMeasurementClusterHandler", - "generic_id": "cluster_handler_0x0b04", - "endpoint_id": 1, - "cluster": { - "id": 2820, - "name": "Electrical Measurement", - "type": "server" - }, - "id": "1:0x0b04", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0b04", - "status": "CREATED", - "value_attribute": "active_power" - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "apparent_power", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "VA" - }, - "state": { - "class_name": "ElectricalMeasurementApparentPower", - "available": false, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1-2820-rms_current", - "platform": "sensor", - "class_name": "ElectricalMeasurementRMSCurrent", - "translation_key": null, - "device_class": "current", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "ElectricalMeasurementClusterHandler", - "generic_id": "cluster_handler_0x0b04", - "endpoint_id": 1, - "cluster": { - "id": 2820, - "name": "Electrical Measurement", - "type": "server" - }, - "id": "1:0x0b04", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0b04", - "status": "CREATED", - "value_attribute": "active_power" - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "rms_current", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "A" - }, - "state": { - "class_name": "ElectricalMeasurementRMSCurrent", - "available": false, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1-2820-rms_voltage", - "platform": "sensor", - "class_name": "ElectricalMeasurementRMSVoltage", - "translation_key": null, - "device_class": "voltage", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "ElectricalMeasurementClusterHandler", - "generic_id": "cluster_handler_0x0b04", - "endpoint_id": 1, - "cluster": { - "id": 2820, - "name": "Electrical Measurement", - "type": "server" - }, - "id": "1:0x0b04", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0b04", - "status": "CREATED", - "value_attribute": "active_power" - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "rms_voltage", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "V" - }, - "state": { - "class_name": "ElectricalMeasurementRMSVoltage", - "available": false, - "state": 0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1-2820-ac_frequency", - "platform": "sensor", - "class_name": "ElectricalMeasurementFrequency", - "translation_key": "ac_frequency", - "device_class": "frequency", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "ElectricalMeasurementClusterHandler", - "generic_id": "cluster_handler_0x0b04", - "endpoint_id": 1, - "cluster": { - "id": 2820, - "name": "Electrical Measurement", - "type": "server" - }, - "id": "1:0x0b04", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0b04", - "status": "CREATED", - "value_attribute": "active_power" - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "ac_frequency", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "Hz" - }, - "state": { - "class_name": "ElectricalMeasurementFrequency", - "available": false, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1-2", - "platform": "sensor", - "class_name": "DeviceTemperature", - "translation_key": "device_temperature", - "device_class": "temperature", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "DeviceTemperatureClusterHandler", - "generic_id": "cluster_handler_0x0002", - "endpoint_id": 1, - "cluster": { - "id": 2, - "name": "Device Temperature", - "type": "server" - }, - "id": "1:0x0002", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0002", - "status": "CREATED", - "value_attribute": "current_temperature" - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "current_temperature", - "decimals": 1, - "divisor": 100, - "multiplier": 1, - "unit": "°C" - }, - "state": { - "class_name": "DeviceTemperature", - "available": false, - "state": 41.0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": false, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": false, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1-2820", - "platform": "sensor", - "class_name": "PolledElectricalMeasurement", - "translation_key": null, - "device_class": "power", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "ElectricalMeasurementClusterHandler", - "generic_id": "cluster_handler_0x0b04", - "endpoint_id": 1, - "cluster": { - "id": 2820, - "name": "Electrical Measurement", - "type": "server" - }, - "id": "1:0x0b04", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0b04", - "status": "CREATED", - "value_attribute": "active_power" - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "active_power", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "W" - }, - "state": { - "class_name": "PolledElectricalMeasurement", - "available": false, - "state": 0.9 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1-1794", - "platform": "sensor", - "class_name": "SmartEnergyMetering", - "translation_key": "instantaneous_demand", - "device_class": "power", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "MeteringClusterHandler", - "generic_id": "cluster_handler_0x0702", - "endpoint_id": 1, - "cluster": { - "id": 1794, - "name": "MeteringCluster", - "type": "server" - }, - "id": "1:0x0702", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0702", - "status": "CREATED", - "value_attribute": "instantaneous_demand" - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "instantaneous_demand", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "W" - }, - "state": { - "class_name": "SmartEnergyMetering", - "available": false, - "state": null, - "device_type": "Electric Metering", - "zcl_unit_of_measurement": 0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1-1794-summation_delivered", - "platform": "sensor", - "class_name": "SmartEnergySummation", - "translation_key": "summation_delivered", - "device_class": "energy", - "state_class": "total_increasing", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "MeteringClusterHandler", - "generic_id": "cluster_handler_0x0702", - "endpoint_id": 1, - "cluster": { - "id": 1794, - "name": "MeteringCluster", - "type": "server" - }, - "id": "1:0x0702", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0702", - "status": "CREATED", - "value_attribute": "instantaneous_demand" - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "current_summ_delivered", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "kWh" - }, - "state": { - "class_name": "SmartEnergySummation", - "available": false, - "state": 5.027, - "device_type": "Electric Metering", - "zcl_unit_of_measurement": 0 - } - } - ], - "switch": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1", - "platform": "switch", - "class_name": "Switch", - "translation_key": "switch", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OnOffClusterHandler", - "generic_id": "cluster_handler_0x0006", - "endpoint_id": 1, - "cluster": { - "id": 6, - "name": "On/Off", - "type": "server" - }, - "id": "1:0x0006", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0006", - "status": "CREATED", - "value_attribute": "on_off" - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null - }, - "state": { - "class_name": "Switch", - "state": 1, - "available": false - } - } - ], - "update": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:82:d0:78-1-25-firmware_update", - "platform": "update", - "class_name": "FirmwareUpdateEntity", - "translation_key": null, - "device_class": "firmware", - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OtaClientClusterHandler", - "generic_id": "cluster_handler_0x0019", - "endpoint_id": 1, - "cluster": { - "id": 25, - "name": "Ota", - "type": "client" - }, - "id": "1:0x0019", - "unique_id": "00:15:8d:00:02:82:d0:78:1:0x0019", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 120, - 208, - 130, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "supported_features": 7 - }, - "state": { - "class_name": "FirmwareUpdateEntity", - "available": false, - "installed_version": "0x0000000b", - "in_progress": false, - "progress": 0, - "latest_version": "0x0000000b", - "release_summary": null, - "release_url": null - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/lumi-lumi-relay-c2acn01.json b/tests/data/devices/lumi-lumi-relay-c2acn01.json deleted file mode 100644 index abfd1dbf..00000000 --- a/tests/data/devices/lumi-lumi-relay-c2acn01.json +++ /dev/null @@ -1,1582 +0,0 @@ -{ - "ieee": "00:15:8d:00:04:44:ec:08", - "nwk": 36765, - "manufacturer": "LUMI", - "model": "lumi.relay.c2acn01", - "name": "LUMI lumi.relay.c2acn01", - "quirk_applied": true, - "quirk_class": "zhaquirks.xiaomi.aqara.relay_c2acn01.Relay", - "quirk_id": null, - "manufacturer_code": 4151, - "power_source": "Mains", - "lqi": 145, - "rssi": null, - "last_seen": "2024-08-26T14:48:58", - "available": true, - "device_type": "Router", - "signature": { - "node_descriptor": { - "logical_type": 1, - "complex_descriptor_available": 0, - "user_descriptor_available": 0, - "reserved": 0, - "aps_flags": 0, - "frequency_band": 8, - "mac_capability_flags": 142, - "manufacturer_code": 4151, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 0, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0101", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0002", - "0x0003", - "0x0004", - "0x0005", - "0x0006", - "0x000a", - "0x000c", - "0x0010", - "0x0702", - "0x0b04" - ], - "output_clusters": [ - "0x000a", - "0x0019" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0101", - "input_clusters": [ - "0x0004", - "0x0005", - "0x0006", - "0x0010" - ], - "output_clusters": [] - } - }, - "manufacturer": "LUMI", - "model": "lumi.relay.c2acn01" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "button.lumi_lumi_relay_c2acn01_identifybutton", - "name": "LUMI lumi.relay.c2acn01" - }, - { - "entity_id": "light.lumi_lumi_relay_c2acn01_light", - "name": "LUMI lumi.relay.c2acn01" - }, - { - "entity_id": "light.lumi_lumi_relay_c2acn01_light_2", - "name": "LUMI lumi.relay.c2acn01" - }, - { - "entity_id": "sensor.lumi_lumi_relay_c2acn01_electricalmeasurementpowerfactor", - "name": "LUMI lumi.relay.c2acn01" - }, - { - "entity_id": "sensor.lumi_lumi_relay_c2acn01_devicetemperature", - "name": "LUMI lumi.relay.c2acn01" - }, - { - "entity_id": "sensor.lumi_lumi_relay_c2acn01_electricalmeasurement", - "name": "LUMI lumi.relay.c2acn01" - }, - { - "entity_id": "sensor.downstairs_bathroom_fan_instantaneous_demand", - "name": "LUMI lumi.relay.c2acn01" - }, - { - "entity_id": "sensor.downstairs_bathroom_fan_summation_delivered", - "name": "LUMI lumi.relay.c2acn01" - }, - { - "entity_id": "update.downstairs_bathroom_fan_firmware", - "name": "LUMI lumi.relay.c2acn01" - } - ], - "neighbors": [ - { - "device_type": "Coordinator", - "rx_on_when_idle": "On", - "relationship": "Parent", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:12:4b:00:25:90:19:2d", - "nwk": "0x0000", - "permit_joining": "Unknown", - "depth": "0", - "lqi": "111" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Child", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:13:a2:00:41:67:1f:d7", - "nwk": "0xB988", - "permit_joining": "Unknown", - "depth": "2", - "lqi": "123" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "7c:b0:3e:aa:00:a4:34:be", - "nwk": "0x04D6", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "41" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "f0:f5:bd:ff:fe:2c:e0:90", - "nwk": "0xEE0B", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "56" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "cc:cc:cc:ff:fe:c4:dc:e1", - "nwk": "0xA57B", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "54" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:13:a2:00:41:93:fe:df", - "nwk": "0x29E5", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "127" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:13:a2:00:41:95:c3:a6", - "nwk": "0x8B02", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "49" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:15:8d:00:04:27:01:b4", - "nwk": "0x696C", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "105" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:22:a3:00:00:25:2c:24", - "nwk": "0x68BB", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "107" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:13:a2:00:40:c0:4e:54", - "nwk": "0x8F36", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "49" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:22:a3:00:00:25:17:33", - "nwk": "0xAEFD", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "85" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:22:a3:00:00:25:db:00", - "nwk": "0x0F04", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "82" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:12:4b:00:1c:46:5f:b1", - "nwk": "0xE2CF", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "40" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:22:a3:00:00:25:1e:8a", - "nwk": "0xA7AB", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "124" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "00:0d:6f:00:10:67:70:a5", - "nwk": "0x334B", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "58" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "44:8e:fd:1d:2e:96:ce:9a", - "ieee": "f0:d1:b8:00:00:05:49:22", - "nwk": "0xEE12", - "permit_joining": "Unknown", - "depth": "1", - "lqi": "75" - } - ], - "routes": [ - { - "dest_nwk": "0x3DD7", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x35E1", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x1CCA", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x2545", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x3EB2", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x29E5", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x29E5" - }, - { - "dest_nwk": "0x4B84", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x4BF4", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x696C" - }, - { - "dest_nwk": "0xCBDB", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x4FE6", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x6114", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0xF7AE", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x7C06", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0xEE0B", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x29E5" - }, - { - "dest_nwk": "0x6100", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x29E5" - }, - { - "dest_nwk": "0x4691", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x62C7", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x696C" - }, - { - "dest_nwk": "0xB988", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xB988" - }, - { - "dest_nwk": "0x6404", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x7D23", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x1C1E", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x404B", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x76B5", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xB988" - }, - { - "dest_nwk": "0x696C", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x696C" - }, - { - "dest_nwk": "0xC0FA", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xB988" - }, - { - "dest_nwk": "0xEE12", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x3C7D", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x95A8", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x9AF8", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x13E7", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x696C" - }, - { - "dest_nwk": "0xE2CF", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x9D97", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x00A2", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x591D", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x696C" - }, - { - "dest_nwk": "0x6616", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0xE44F", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0xEC02", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x79AB", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0xB789", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x696C" - }, - { - "dest_nwk": "0x0000", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": true, - "route_record_required": false, - "next_hop": "0x0000" - }, - { - "dest_nwk": "0x7045", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x5256", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x8B02", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x8B02" - }, - { - "dest_nwk": "0x20A9", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0xD53C", - "route_status": "Discovery_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xFFFE" - }, - { - "dest_nwk": "0x334B", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x334B" - }, - { - "dest_nwk": "0x770B", - "route_status": "Validation_Underway", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x29E5" - }, - { - "dest_nwk": "0x4FEB", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x696C" - } - ], - "endpoint_names": [ - { - "name": "DIMMABLE_LIGHT" - }, - { - "name": "DIMMABLE_LIGHT" - } - ], - "user_given_name": "Downstairs Bathroom Fan", - "device_reg_id": "67e3549f005c4961b41de57538171b00", - "area_id": "55e8aaa5e4ee44f8abdf4499bcab9e39", - "cluster_details": { - "1": { - "device_type": { - "name": "DIMMABLE_LIGHT", - "id": 257 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0001": { - "attribute_name": "app_version", - "value": 1 - }, - "0x0004": { - "attribute_name": "manufacturer", - "value": "LUMI" - }, - "0x0005": { - "attribute_name": "model", - "value": "lumi.relay.c2acn01" - }, - "0x0007": { - "attribute_name": "power_source", - "value": 4 - } - }, - "unsupported_attributes": {} - }, - "0x0001": { - "endpoint_attribute": "power", - "attributes": { - "0x0020": { - "attribute_name": "battery_voltage", - "value": 0 - }, - "0x0000": { - "attribute_name": "mains_voltage", - "value": 0 - } - }, - "unsupported_attributes": {} - }, - "0x0002": { - "endpoint_attribute": "device_temperature", - "attributes": { - "0x0000": { - "attribute_name": "current_temperature", - "value": 4000 - } - }, - "unsupported_attributes": {} - }, - "0x0004": { - "endpoint_attribute": "groups", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": { - "0x0000": { - "attribute_name": "on_off", - "value": 0 - } - }, - "unsupported_attributes": {} - }, - "0x0005": { - "endpoint_attribute": "scenes", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0010": { - "endpoint_attribute": "binary_output", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x000a": { - "endpoint_attribute": "time", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0702": { - "endpoint_attribute": "smartenergy_metering", - "attributes": { - "0x0000": { - "attribute_name": "current_summ_delivered", - "value": 96 - }, - "0x0302": { - "attribute_name": "divisor", - "value": 1000 - }, - "0x0306": { - "attribute_name": "metering_device_type", - "value": 0 - }, - "0x0301": { - "attribute_name": "multiplier", - "value": 1 - }, - "0x0303": { - "attribute_name": "summation_formatting", - "value": 35 - }, - "0x0300": { - "attribute_name": "unit_of_measure", - "value": 0 - } - }, - "unsupported_attributes": {} - }, - "0x0b04": { - "endpoint_attribute": "electrical_measurement", - "attributes": { - "0x0605": { - "attribute_name": "ac_power_divisor", - "value": 10 - }, - "0x0604": { - "attribute_name": "ac_power_multiplier", - "value": 1 - }, - "0x050b": { - "attribute_name": "active_power", - "value": 0 - }, - "0x0500": { - "attribute_name": "instantaneous_voltage", - "value": 119.24866943359376 - }, - "0x0403": { - "attribute_name": "power_divisor", - "value": 1 - }, - "0x0402": { - "attribute_name": "power_multiplier", - "value": 1 - }, - "0x0505": { - "attribute_name": "rms_voltage", - "value": 118.93077392578125 - }, - "0x0304": { - "attribute_name": "total_active_power", - "value": 96 - } - }, - "unsupported_attributes": { - "0x0300": { - "attribute_name": "ac_frequency" - }, - "0x050f": { - "attribute_name": "apparent_power" - }, - "0x0302": { - "attribute_name": "ac_frequency_max" - }, - "0x0505": { - "attribute_name": "rms_voltage" - }, - "0x050d": { - "attribute_name": "active_power_max" - }, - "0x0508": { - "attribute_name": "rms_current" - }, - "0x0507": { - "attribute_name": "rms_voltage_max" - }, - "0x050a": { - "attribute_name": "rms_current_max" - } - } - }, - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 0.00767827033996582 - } - }, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0019": { - "endpoint_attribute": "ota", - "attributes": { - "0x0002": { - "attribute_name": "current_file_version", - "value": 36 - } - }, - "unsupported_attributes": {} - }, - "0x000a": { - "endpoint_attribute": "time", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "2": { - "device_type": { - "name": "DIMMABLE_LIGHT", - "id": 257 - }, - "profile_id": 260, - "in_clusters": { - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": { - "0x0000": { - "attribute_name": "on_off", - "value": 0 - } - }, - "unsupported_attributes": {} - }, - "0x0010": { - "endpoint_attribute": "binary_output", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0004": { - "endpoint_attribute": "groups", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0005": { - "endpoint_attribute": "scenes", - "attributes": {}, - "unsupported_attributes": {} - } - }, - "out_clusters": {} - } - }, - "original_signature": { - "models_info": [ - [ - "LUMI", - "lumi.relay.c2acn01" - ] - ], - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0101", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0002", - "0x0004", - "0x0003", - "0x0006", - "0x0005", - "0x0010", - "0x000a", - "0x0b04", - "0x000c" - ], - "output_clusters": [ - "0x0019", - "0x000a" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0101", - "input_clusters": [ - "0x0006", - "0x0010", - "0x0004", - "0x0005" - ], - "output_clusters": [] - } - } - }, - "zha_lib_entities": { - "button": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:04:44:ec:08-1-3", - "platform": "button", - "class_name": "IdentifyButton", - "translation_key": null, - "device_class": "identify", - "state_class": null, - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IdentifyClusterHandler", - "generic_id": "cluster_handler_0x0003", - "endpoint_id": 1, - "cluster": { - "id": 3, - "name": "Identify", - "type": "server" - }, - "id": "1:0x0003", - "unique_id": "00:15:8d:00:04:44:ec:08:1:0x0003", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 8, - 236, - 68, - 4, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "command": "identify", - "args": [ - 5 - ], - "kwargs": {} - }, - "state": { - "class_name": "IdentifyButton", - "available": true - } - } - ], - "light": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:04:44:ec:08-1", - "platform": "light", - "class_name": "Light", - "translation_key": "light", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OnOffClusterHandler", - "generic_id": "cluster_handler_0x0006", - "endpoint_id": 1, - "cluster": { - "id": 6, - "name": "On/Off", - "type": "server" - }, - "id": "1:0x0006", - "unique_id": "00:15:8d:00:04:44:ec:08:1:0x0006", - "status": "CREATED", - "value_attribute": "on_off" - } - ], - "device_ieee": [ - 8, - 236, - 68, - 4, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "effect_list": null, - "supported_features": 8, - "min_mireds": 153, - "max_mireds": 500 - }, - "state": { - "class_name": "Light", - "on": false, - "brightness": null, - "hs_color": null, - "xy_color": null, - "color_temp": null, - "effect": null, - "supported_features": 8, - "color_mode": "onoff", - "supported_color_modes": [ - "onoff" - ], - "off_with_transition": false, - "off_brightness": null, - "available": true - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:04:44:ec:08-2", - "platform": "light", - "class_name": "Light", - "translation_key": "light", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OnOffClusterHandler", - "generic_id": "cluster_handler_0x0006", - "endpoint_id": 2, - "cluster": { - "id": 6, - "name": "On/Off", - "type": "server" - }, - "id": "2:0x0006", - "unique_id": "00:15:8d:00:04:44:ec:08:2:0x0006", - "status": "CREATED", - "value_attribute": "on_off" - } - ], - "device_ieee": [ - 8, - 236, - 68, - 4, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 2, - "available": true, - "group_id": null, - "effect_list": null, - "supported_features": 8, - "min_mireds": 153, - "max_mireds": 500 - }, - "state": { - "class_name": "Light", - "on": false, - "brightness": null, - "hs_color": null, - "xy_color": null, - "color_temp": null, - "effect": null, - "supported_features": 8, - "color_mode": "onoff", - "supported_color_modes": [ - "onoff" - ], - "off_with_transition": false, - "off_brightness": null, - "available": true - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:04:44:ec:08-1-2820-power_factor", - "platform": "sensor", - "class_name": "ElectricalMeasurementPowerFactor", - "translation_key": null, - "device_class": "power_factor", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "ElectricalMeasurementClusterHandler", - "generic_id": "cluster_handler_0x0b04", - "endpoint_id": 1, - "cluster": { - "id": 2820, - "name": "Electrical Measurement", - "type": "server" - }, - "id": "1:0x0b04", - "unique_id": "00:15:8d:00:04:44:ec:08:1:0x0b04", - "status": "CREATED", - "value_attribute": "active_power" - } - ], - "device_ieee": [ - 8, - 236, - 68, - 4, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": "power_factor", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "ElectricalMeasurementPowerFactor", - "available": true, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:04:44:ec:08-1-2", - "platform": "sensor", - "class_name": "DeviceTemperature", - "translation_key": "device_temperature", - "device_class": "temperature", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "DeviceTemperatureClusterHandler", - "generic_id": "cluster_handler_0x0002", - "endpoint_id": 1, - "cluster": { - "id": 2, - "name": "Device Temperature", - "type": "server" - }, - "id": "1:0x0002", - "unique_id": "00:15:8d:00:04:44:ec:08:1:0x0002", - "status": "CREATED", - "value_attribute": "current_temperature" - } - ], - "device_ieee": [ - 8, - 236, - 68, - 4, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": "current_temperature", - "decimals": 1, - "divisor": 100, - "multiplier": 1, - "unit": "°C" - }, - "state": { - "class_name": "DeviceTemperature", - "available": true, - "state": 40.0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:04:44:ec:08-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:15:8d:00:04:44:ec:08:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 8, - 236, - 68, - 4, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": true, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:04:44:ec:08-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:15:8d:00:04:44:ec:08:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 8, - 236, - 68, - 4, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": true, - "state": 145 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:04:44:ec:08-1-2820", - "platform": "sensor", - "class_name": "PolledElectricalMeasurement", - "translation_key": null, - "device_class": "power", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "ElectricalMeasurementClusterHandler", - "generic_id": "cluster_handler_0x0b04", - "endpoint_id": 1, - "cluster": { - "id": 2820, - "name": "Electrical Measurement", - "type": "server" - }, - "id": "1:0x0b04", - "unique_id": "00:15:8d:00:04:44:ec:08:1:0x0b04", - "status": "CREATED", - "value_attribute": "active_power" - } - ], - "device_ieee": [ - 8, - 236, - 68, - 4, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": "active_power", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "W" - }, - "state": { - "class_name": "PolledElectricalMeasurement", - "available": true, - "state": 0.0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:04:44:ec:08-1-1794", - "platform": "sensor", - "class_name": "SmartEnergyMetering", - "translation_key": "instantaneous_demand", - "device_class": "power", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "MeteringClusterHandler", - "generic_id": "cluster_handler_0x0702", - "endpoint_id": 1, - "cluster": { - "id": 1794, - "name": "MeteringCluster", - "type": "server" - }, - "id": "1:0x0702", - "unique_id": "00:15:8d:00:04:44:ec:08:1:0x0702", - "status": "CREATED", - "value_attribute": "instantaneous_demand" - } - ], - "device_ieee": [ - 8, - 236, - 68, - 4, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": "instantaneous_demand", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "W" - }, - "state": { - "class_name": "SmartEnergyMetering", - "available": true, - "state": null, - "device_type": "Electric Metering", - "zcl_unit_of_measurement": 0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:04:44:ec:08-1-1794-summation_delivered", - "platform": "sensor", - "class_name": "SmartEnergySummation", - "translation_key": "summation_delivered", - "device_class": "energy", - "state_class": "total_increasing", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "MeteringClusterHandler", - "generic_id": "cluster_handler_0x0702", - "endpoint_id": 1, - "cluster": { - "id": 1794, - "name": "MeteringCluster", - "type": "server" - }, - "id": "1:0x0702", - "unique_id": "00:15:8d:00:04:44:ec:08:1:0x0702", - "status": "CREATED", - "value_attribute": "instantaneous_demand" - } - ], - "device_ieee": [ - 8, - 236, - 68, - 4, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": "current_summ_delivered", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "kWh" - }, - "state": { - "class_name": "SmartEnergySummation", - "available": true, - "state": 0.096, - "device_type": "Electric Metering", - "zcl_unit_of_measurement": 0 - } - } - ], - "update": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:04:44:ec:08-1-25-firmware_update", - "platform": "update", - "class_name": "FirmwareUpdateEntity", - "translation_key": null, - "device_class": "firmware", - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OtaClientClusterHandler", - "generic_id": "cluster_handler_0x0019", - "endpoint_id": 1, - "cluster": { - "id": 25, - "name": "Ota", - "type": "client" - }, - "id": "1:0x0019", - "unique_id": "00:15:8d:00:04:44:ec:08:1:0x0019", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 8, - 236, - 68, - 4, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "supported_features": 7 - }, - "state": { - "class_name": "FirmwareUpdateEntity", - "available": true, - "installed_version": "0x00000024", - "in_progress": false, - "progress": 0, - "latest_version": "0x00000024", - "release_summary": null, - "release_url": null - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/lumi-lumi-remote-b286opcn01.json b/tests/data/devices/lumi-lumi-remote-b286opcn01.json deleted file mode 100644 index 827036ed..00000000 --- a/tests/data/devices/lumi-lumi-remote-b286opcn01.json +++ /dev/null @@ -1,689 +0,0 @@ -{ - "ieee": "04:cf:8c:df:3c:75:c1:67", - "nwk": 25421, - "manufacturer": "LUMI", - "model": "lumi.remote.b286opcn01", - "name": "LUMI lumi.remote.b286opcn01", - "quirk_applied": true, - "quirk_class": "zhaquirks.xiaomi.aqara.opple_remote.RemoteB286OPCN01V4", - "quirk_id": null, - "manufacturer_code": 4447, - "power_source": "Battery or Unknown", - "lqi": null, - "rssi": null, - "last_seen": "2024-08-26T14:23:13", - "available": true, - "device_type": "EndDevice", - "signature": { - "node_descriptor": { - "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": 4447, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 11264, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0105", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0003", - "0x0012", - "0xfcc0" - ], - "output_clusters": [ - "0x0003", - "0x0006", - "0x0008", - "0x0300" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0003", - "0x0006" - ] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0006" - ] - }, - "4": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0006" - ] - }, - "5": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0006" - ] - }, - "6": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0006" - ] - } - }, - "manufacturer": "LUMI", - "model": "lumi.remote.b286opcn01" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "button.lumi_lumi_remote_b286opcn01_identifybutton", - "name": "LUMI lumi.remote.b286opcn01" - }, - { - "entity_id": "sensor.lumi_lumi_remote_b286opcn01_battery", - "name": "LUMI lumi.remote.b286opcn01" - } - ], - "neighbors": [], - "routes": [], - "endpoint_names": [ - { - "name": "COLOR_DIMMER_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - } - ], - "user_given_name": "Master Bedroom Switch", - "device_reg_id": "dbbe8d29713d44d7961de69d1680e3f6", - "area_id": "ac964c45c0b94b4784ee72177efba786", - "cluster_details": { - "1": { - "device_type": { - "name": "COLOR_DIMMER_SWITCH", - "id": 261 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0001": { - "attribute_name": "app_version", - "value": 17 - }, - "0x0004": { - "attribute_name": "manufacturer", - "value": "LUMI" - }, - "0x0005": { - "attribute_name": "model", - "value": "lumi.remote.b286opcn01" - }, - "0x0007": { - "attribute_name": "power_source", - "value": 3 - } - }, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0001": { - "endpoint_attribute": "power", - "attributes": { - "0x0021": { - "attribute_name": "battery_percentage_remaining", - "value": 200 - }, - "0x0033": { - "attribute_name": "battery_quantity", - "value": 1 - }, - "0x0031": { - "attribute_name": "battery_size", - "value": 7 - }, - "0x0020": { - "attribute_name": "battery_voltage", - "value": 28 - } - }, - "unsupported_attributes": { - "0x0021": { - "attribute_name": "battery_percentage_remaining" - } - } - }, - "0xfcc0": { - "endpoint_attribute": "opple_cluster", - "attributes": { - "0x0009": { - "attribute_name": "mode", - "value": 1 - } - }, - "unsupported_attributes": {} - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 1.0 - } - }, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0008": { - "endpoint_attribute": "level", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0300": { - "endpoint_attribute": "light_color", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "2": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 1.0 - } - }, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "3": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "4": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "5": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "6": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - } - } - } - }, - "original_signature": { - "models_info": [ - [ - "LUMI", - "lumi.remote.b286opcn01" - ] - ], - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0105", - "input_clusters": [ - "0x0000", - "0x0003", - "0x0001" - ], - "output_clusters": [ - "0x0003", - "0x0006", - "0x0008", - "0x0300" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003" - ], - "output_clusters": [ - "0x0006", - "0x0003" - ] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0012", - "0x0003" - ], - "output_clusters": [ - "0x0006" - ] - }, - "4": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0012", - "0x0003" - ], - "output_clusters": [ - "0x0006" - ] - }, - "5": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0012", - "0x0003" - ], - "output_clusters": [ - "0x0006" - ] - }, - "6": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0012", - "0x0003" - ], - "output_clusters": [ - "0x0006" - ] - } - } - }, - "zha_lib_entities": { - "button": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "04:cf:8c:df:3c:75:c1:67-1-3", - "platform": "button", - "class_name": "IdentifyButton", - "translation_key": null, - "device_class": "identify", - "state_class": null, - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IdentifyClusterHandler", - "generic_id": "cluster_handler_0x0003", - "endpoint_id": 1, - "cluster": { - "id": 3, - "name": "Identify", - "type": "server" - }, - "id": "1:0x0003", - "unique_id": "04:cf:8c:df:3c:75:c1:67:1:0x0003", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 103, - 193, - 117, - 60, - 223, - 140, - 207, - 4 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "command": "identify", - "args": [ - 5 - ], - "kwargs": {} - }, - "state": { - "class_name": "IdentifyButton", - "available": true - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "04:cf:8c:df:3c:75:c1:67-1-1", - "platform": "sensor", - "class_name": "Battery", - "translation_key": null, - "device_class": "battery", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "PowerConfigurationClusterHandler", - "generic_id": "cluster_handler_0x0001", - "endpoint_id": 1, - "cluster": { - "id": 1, - "name": "Power Configuration", - "type": "server" - }, - "id": "1:0x0001", - "unique_id": "04:cf:8c:df:3c:75:c1:67:1:0x0001", - "status": "CREATED", - "value_attribute": "battery_voltage" - } - ], - "device_ieee": [ - 103, - 193, - 117, - 60, - 223, - 140, - 207, - 4 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": "battery_percentage_remaining", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "Battery", - "available": true, - "state": 100, - "battery_size": "CR2", - "battery_quantity": 1, - "battery_voltage": 2.8 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "04:cf:8c:df:3c:75:c1:67-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "04:cf:8c:df:3c:75:c1:67:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 103, - 193, - 117, - 60, - 223, - 140, - 207, - 4 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": true, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "04:cf:8c:df:3c:75:c1:67-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "04:cf:8c:df:3c:75:c1:67:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 103, - 193, - 117, - 60, - 223, - 140, - 207, - 4 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": true, - "state": null - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/lumi-lumi-remote-b486opcn01.json b/tests/data/devices/lumi-lumi-remote-b486opcn01.json deleted file mode 100755 index 9f03f79f..00000000 --- a/tests/data/devices/lumi-lumi-remote-b486opcn01.json +++ /dev/null @@ -1,523 +0,0 @@ -{ - "ieee": "04:cf:8c:df:3c:75:c1:7b", - "nwk": 30962, - "manufacturer": "LUMI", - "model": "lumi.remote.b486opcn01", - "name": "LUMI lumi.remote.b486opcn01", - "quirk_applied": true, - "quirk_class": "zhaquirks.xiaomi.aqara.opple_remote.RemoteB486OPCN01V2", - "quirk_id": null, - "manufacturer_code": 4447, - "power_source": "Battery or Unknown", - "lqi": null, - "rssi": null, - "last_seen": "2024-08-26T13:55:45", - "available": true, - "device_type": "EndDevice", - "signature": { - "node_descriptor": { - "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": 4447, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 11264, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0105", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0003", - "0x0012", - "0xfcc0" - ], - "output_clusters": [ - "0x0003", - "0x0006", - "0x0008", - "0x0300" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0003", - "0x0006" - ] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0012" - ], - "output_clusters": [] - }, - "4": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0012" - ], - "output_clusters": [] - } - }, - "manufacturer": "LUMI", - "model": "lumi.remote.b486opcn01" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "button.lumi_lumi_remote_b486opcn01_7bc1753c_identify", - "name": "LUMI lumi.remote.b486opcn01" - }, - { - "entity_id": "sensor.lumi_lumi_remote_b486opcn01_7bc1753c_power", - "name": "LUMI lumi.remote.b486opcn01" - } - ], - "neighbors": [], - "routes": [], - "endpoint_names": [ - { - "name": "COLOR_DIMMER_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - } - ], - "user_given_name": "Family Room Remote", - "device_reg_id": "767062399813d6774c08cc95ea1dfdc4", - "area_id": "af1436429ed3400886d5640d12996f96", - "cluster_details": { - "1": { - "device_type": { - "name": "COLOR_DIMMER_SWITCH", - "id": 261 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0004": { - "attribute_name": "manufacturer", - "value": "LUMI" - }, - "0x0005": { - "attribute_name": "model", - "value": "lumi.remote.b486opcn01" - } - }, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0001": { - "endpoint_attribute": "power", - "attributes": { - "0x0021": { - "attribute_name": "battery_percentage_remaining", - "value": 200 - }, - "0x0033": { - "attribute_name": "battery_quantity", - "value": 1 - }, - "0x0031": { - "attribute_name": "battery_size", - "value": 7 - }, - "0x0020": { - "attribute_name": "battery_voltage", - "value": 29 - } - }, - "unsupported_attributes": { - "0x0021": { - "attribute_name": "battery_percentage_remaining" - } - } - }, - "0xfcc0": { - "endpoint_attribute": "opple_cluster", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 1.0 - } - }, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0008": { - "endpoint_attribute": "level", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0300": { - "endpoint_attribute": "light_color", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "2": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 1.0 - } - }, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "3": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 1.0 - } - }, - "unsupported_attributes": {} - } - }, - "out_clusters": {} - }, - "4": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 1.0 - } - }, - "unsupported_attributes": {} - } - }, - "out_clusters": {} - } - }, - "original_signature": { - "models_info": [ - [ - "LUMI", - "lumi.remote.b486opcn01" - ] - ], - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0105", - "input_clusters": [ - "0x0000", - "0x0003", - "0x0001" - ], - "output_clusters": [ - "0x0003", - "0x0006", - "0x0008", - "0x0300" - ] - } - } - }, - "zha_lib_entities": { - "button": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "04:cf:8c:df:3c:75:c1:7b-1-3", - "platform": "button", - "class_name": "IdentifyButton", - "translation_key": null, - "device_class": "identify", - "state_class": null, - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IdentifyClusterHandler", - "generic_id": "cluster_handler_0x0003", - "endpoint_id": 1, - "cluster": { - "id": 3, - "name": "Identify", - "type": "server" - }, - "id": "1:0x0003", - "unique_id": "04:cf:8c:df:3c:75:c1:7b:1:0x0003", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 123, - 193, - 117, - 60, - 223, - 140, - 207, - 4 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "command": "identify", - "args": [ - 5 - ], - "kwargs": {} - }, - "state": { - "class_name": "IdentifyButton", - "available": true - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "04:cf:8c:df:3c:75:c1:7b-1-1", - "platform": "sensor", - "class_name": "Battery", - "translation_key": null, - "device_class": "battery", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "PowerConfigurationClusterHandler", - "generic_id": "cluster_handler_0x0001", - "endpoint_id": 1, - "cluster": { - "id": 1, - "name": "Power Configuration", - "type": "server" - }, - "id": "1:0x0001", - "unique_id": "04:cf:8c:df:3c:75:c1:7b:1:0x0001", - "status": "CREATED", - "value_attribute": "battery_voltage" - } - ], - "device_ieee": [ - 123, - 193, - 117, - 60, - 223, - 140, - 207, - 4 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": "battery_percentage_remaining", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "Battery", - "available": true, - "state": 100, - "battery_size": "CR2", - "battery_quantity": 1, - "battery_voltage": 2.9 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "04:cf:8c:df:3c:75:c1:7b-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "04:cf:8c:df:3c:75:c1:7b:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 123, - 193, - 117, - 60, - 223, - 140, - 207, - 4 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": true, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "04:cf:8c:df:3c:75:c1:7b-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "04:cf:8c:df:3c:75:c1:7b:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 123, - 193, - 117, - 60, - 223, - 140, - 207, - 4 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": true, - "state": null - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/lumi-lumi-remote-b686opcn01.json b/tests/data/devices/lumi-lumi-remote-b686opcn01.json deleted file mode 100644 index 2797d05e..00000000 --- a/tests/data/devices/lumi-lumi-remote-b686opcn01.json +++ /dev/null @@ -1,671 +0,0 @@ -{ - "ieee": "04:cf:8c:df:3c:79:47:76", - "nwk": 6950, - "manufacturer": "LUMI", - "model": "lumi.remote.b686opcn01", - "name": "LUMI lumi.remote.b686opcn01", - "quirk_applied": true, - "quirk_class": "zhaquirks.xiaomi.aqara.opple_remote.RemoteB686OPCN01V3", - "quirk_id": null, - "manufacturer_code": 4447, - "power_source": "Battery or Unknown", - "lqi": null, - "rssi": null, - "last_seen": "2024-08-26T16:10:05", - "available": true, - "device_type": "EndDevice", - "signature": { - "node_descriptor": { - "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": 4447, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 11264, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0105", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0003", - "0x0012", - "0xfcc0" - ], - "output_clusters": [ - "0x0003", - "0x0006", - "0x0008", - "0x0300" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0003", - "0x0006" - ] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0006" - ] - }, - "4": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0006" - ] - }, - "5": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0006" - ] - }, - "6": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0006" - ] - } - }, - "manufacturer": "LUMI", - "model": "lumi.remote.b686opcn01" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "button.lumi_lumi_remote_b686opcn01_identify", - "name": "LUMI lumi.remote.b686opcn01" - }, - { - "entity_id": "sensor.lumi_lumi_remote_b686opcn01_battery", - "name": "LUMI lumi.remote.b686opcn01" - } - ], - "neighbors": [], - "routes": [], - "endpoint_names": [ - { - "name": "COLOR_DIMMER_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - }, - { - "name": "ON_OFF_LIGHT_SWITCH" - } - ], - "user_given_name": null, - "device_reg_id": "294de69954ab40d5a4161a15103ccdc9", - "area_id": null, - "cluster_details": { - "1": { - "device_type": { - "name": "COLOR_DIMMER_SWITCH", - "id": 261 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0004": { - "attribute_name": "manufacturer", - "value": "LUMI" - }, - "0x0005": { - "attribute_name": "model", - "value": "lumi.remote.b686opcn01" - } - }, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0001": { - "endpoint_attribute": "power", - "attributes": { - "0x0021": { - "attribute_name": "battery_percentage_remaining", - "value": 200 - }, - "0x0033": { - "attribute_name": "battery_quantity", - "value": 1 - }, - "0x0031": { - "attribute_name": "battery_size", - "value": 7 - }, - "0x0020": { - "attribute_name": "battery_voltage", - "value": 30 - } - }, - "unsupported_attributes": { - "0x0021": { - "attribute_name": "battery_percentage_remaining" - } - } - }, - "0xfcc0": { - "endpoint_attribute": "opple_cluster", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 1.0 - } - }, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0008": { - "endpoint_attribute": "level", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0300": { - "endpoint_attribute": "light_color", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "2": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "3": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "4": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "5": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - } - } - }, - "6": { - "device_type": { - "name": "ON_OFF_LIGHT_SWITCH", - "id": 259 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": {}, - "unsupported_attributes": {} - } - } - } - }, - "original_signature": { - "models_info": [ - [ - "LUMI", - "lumi.remote.b686opcn01" - ] - ], - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0105", - "input_clusters": [ - "0x0000", - "0x0003", - "0x0001" - ], - "output_clusters": [ - "0x0003", - "0x0006", - "0x0008", - "0x0300" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0003" - ], - "output_clusters": [ - "0x0006", - "0x0003" - ] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0012", - "0x0003" - ], - "output_clusters": [ - "0x0006" - ] - }, - "4": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0012", - "0x0003" - ], - "output_clusters": [ - "0x0006" - ] - }, - "5": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0012", - "0x0003" - ], - "output_clusters": [ - "0x0006" - ] - }, - "6": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0012", - "0x0003" - ], - "output_clusters": [ - "0x0006" - ] - } - } - }, - "zha_lib_entities": { - "button": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "04:cf:8c:df:3c:79:47:76-1-3", - "platform": "button", - "class_name": "IdentifyButton", - "translation_key": null, - "device_class": "identify", - "state_class": null, - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IdentifyClusterHandler", - "generic_id": "cluster_handler_0x0003", - "endpoint_id": 1, - "cluster": { - "id": 3, - "name": "Identify", - "type": "server" - }, - "id": "1:0x0003", - "unique_id": "04:cf:8c:df:3c:79:47:76:1:0x0003", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 118, - 71, - 121, - 60, - 223, - 140, - 207, - 4 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "command": "identify", - "args": [ - 5 - ], - "kwargs": {} - }, - "state": { - "class_name": "IdentifyButton", - "available": true - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "04:cf:8c:df:3c:79:47:76-1-1", - "platform": "sensor", - "class_name": "Battery", - "translation_key": null, - "device_class": "battery", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "PowerConfigurationClusterHandler", - "generic_id": "cluster_handler_0x0001", - "endpoint_id": 1, - "cluster": { - "id": 1, - "name": "Power Configuration", - "type": "server" - }, - "id": "1:0x0001", - "unique_id": "04:cf:8c:df:3c:79:47:76:1:0x0001", - "status": "CREATED", - "value_attribute": "battery_voltage" - } - ], - "device_ieee": [ - 118, - 71, - 121, - 60, - 223, - 140, - 207, - 4 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": "battery_percentage_remaining", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "Battery", - "available": true, - "state": 100, - "battery_size": "CR2", - "battery_quantity": 1, - "battery_voltage": 3.0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "04:cf:8c:df:3c:79:47:76-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "04:cf:8c:df:3c:79:47:76:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 118, - 71, - 121, - 60, - 223, - 140, - 207, - 4 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": true, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "04:cf:8c:df:3c:79:47:76-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "04:cf:8c:df:3c:79:47:76:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 118, - 71, - 121, - 60, - 223, - 140, - 207, - 4 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": true, - "state": null - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/lumi-lumi-remote-cagl02.json b/tests/data/devices/lumi-lumi-remote-cagl02.json deleted file mode 100644 index c48bb790..00000000 --- a/tests/data/devices/lumi-lumi-remote-cagl02.json +++ /dev/null @@ -1,1326 +0,0 @@ -{ - "ieee": "54:ef:44:10:00:14:f3:e7", - "nwk": 26574, - "manufacturer": "LUMI", - "model": "lumi.remote.cagl02", - "name": "LUMI lumi.remote.cagl02", - "quirk_applied": true, - "quirk_class": "zhaquirks.xiaomi.aqara.cube_aqgl01.CubeCAGL02", - "quirk_id": null, - "manufacturer_code": 4447, - "power_source": "Battery or Unknown", - "lqi": null, - "rssi": null, - "last_seen": "2023-05-01T13:58:20", - "available": false, - "device_type": "EndDevice", - "signature": { - "node_descriptor": { - "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": 4447, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 11264, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x6f01", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0003", - "0x0012", - "0x0019" - ], - "output_clusters": [ - "0x0000", - "0x0003", - "0x0019" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x6f01", - "input_clusters": [ - "0x0012" - ], - "output_clusters": [ - "0x0012" - ] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x6f01", - "input_clusters": [ - "0x000c" - ], - "output_clusters": [ - "0x000c" - ] - } - }, - "manufacturer": "LUMI", - "model": "lumi.remote.cagl02" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "button.lumi_lumi_remote_cagl02_identify", - "name": "LUMI lumi.remote.cagl02" - }, - { - "entity_id": "sensor.lumi_lumi_remote_cagl02_battery", - "name": "LUMI lumi.remote.cagl02" - }, - { - "entity_id": "update.lumi_lumi_remote_cagl02_firmware", - "name": "LUMI lumi.remote.cagl02" - } - ], - "neighbors": [], - "routes": [], - "endpoint_names": [ - { - "name": "undefined_0x6f01" - }, - { - "name": "undefined_0x6f01" - }, - { - "name": "undefined_0x6f01" - } - ], - "user_given_name": null, - "device_reg_id": "c1018c1329998a3e56a6611c3552d2cc", - "area_id": null, - "cluster_details": { - "1": { - "device_type": { - "name": "undefined_0x6f01", - "id": 28417 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='app_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 22 - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='date_code', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='device_enabled', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='disable_local_config', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='generic_device_class', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='generic_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='hw_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='location_desc', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "LUMI" - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='manufacturer_version_details', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='model', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "lumi.remote.cagl02" - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='physical_env', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='power_source', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='product_code', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='product_label', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='product_url', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='serial_number', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='sw_build_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zcl_version', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0001": { - "endpoint_attribute": "power", - "attributes": { - "0x0052": { - "attribute": "ZCLAttributeDef(id=0x0052, name='battery_2_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='battery_2_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005e": { - "attribute": "ZCLAttributeDef(id=0x005E, name='battery_2_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0050": { - "attribute": "ZCLAttributeDef(id=0x0050, name='battery_2_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005a": { - "attribute": "ZCLAttributeDef(id=0x005A, name='battery_2_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005b": { - "attribute": "ZCLAttributeDef(id=0x005B, name='battery_2_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005c": { - "attribute": "ZCLAttributeDef(id=0x005C, name='battery_2_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005d": { - "attribute": "ZCLAttributeDef(id=0x005D, name='battery_2_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='battery_2_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0053": { - "attribute": "ZCLAttributeDef(id=0x0053, name='battery_2_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0054": { - "attribute": "ZCLAttributeDef(id=0x0054, name='battery_2_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='battery_2_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0056": { - "attribute": "ZCLAttributeDef(id=0x0056, name='battery_2_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0057": { - "attribute": "ZCLAttributeDef(id=0x0057, name='battery_2_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0058": { - "attribute": "ZCLAttributeDef(id=0x0058, name='battery_2_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0059": { - "attribute": "ZCLAttributeDef(id=0x0059, name='battery_2_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0040": { - "attribute": "ZCLAttributeDef(id=0x0040, name='battery_2_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0072": { - "attribute": "ZCLAttributeDef(id=0x0072, name='battery_3_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='battery_3_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007e": { - "attribute": "ZCLAttributeDef(id=0x007E, name='battery_3_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0070": { - "attribute": "ZCLAttributeDef(id=0x0070, name='battery_3_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007a": { - "attribute": "ZCLAttributeDef(id=0x007A, name='battery_3_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007b": { - "attribute": "ZCLAttributeDef(id=0x007B, name='battery_3_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007c": { - "attribute": "ZCLAttributeDef(id=0x007C, name='battery_3_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007d": { - "attribute": "ZCLAttributeDef(id=0x007D, name='battery_3_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0061": { - "attribute": "ZCLAttributeDef(id=0x0061, name='battery_3_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0073": { - "attribute": "ZCLAttributeDef(id=0x0073, name='battery_3_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0074": { - "attribute": "ZCLAttributeDef(id=0x0074, name='battery_3_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0071": { - "attribute": "ZCLAttributeDef(id=0x0071, name='battery_3_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0076": { - "attribute": "ZCLAttributeDef(id=0x0076, name='battery_3_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0077": { - "attribute": "ZCLAttributeDef(id=0x0077, name='battery_3_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0078": { - "attribute": "ZCLAttributeDef(id=0x0078, name='battery_3_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0079": { - "attribute": "ZCLAttributeDef(id=0x0079, name='battery_3_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0060": { - "attribute": "ZCLAttributeDef(id=0x0060, name='battery_3_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0032": { - "attribute": "ZCLAttributeDef(id=0x0032, name='battery_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0035": { - "attribute": "ZCLAttributeDef(id=0x0035, name='battery_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003e": { - "attribute": "ZCLAttributeDef(id=0x003E, name='battery_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0030": { - "attribute": "ZCLAttributeDef(id=0x0030, name='battery_manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003a": { - "attribute": "ZCLAttributeDef(id=0x003A, name='battery_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003b": { - "attribute": "ZCLAttributeDef(id=0x003B, name='battery_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003c": { - "attribute": "ZCLAttributeDef(id=0x003C, name='battery_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003d": { - "attribute": "ZCLAttributeDef(id=0x003D, name='battery_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0021": { - "attribute": "ZCLAttributeDef(id=0x0021, name='battery_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0033": { - "attribute": "ZCLAttributeDef(id=0x0033, name='battery_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 1 - }, - "0x0034": { - "attribute": "ZCLAttributeDef(id=0x0034, name='battery_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0031": { - "attribute": "ZCLAttributeDef(id=0x0031, name='battery_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 9 - }, - "0x0036": { - "attribute": "ZCLAttributeDef(id=0x0036, name='battery_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0037": { - "attribute": "ZCLAttributeDef(id=0x0037, name='battery_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0038": { - "attribute": "ZCLAttributeDef(id=0x0038, name='battery_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0039": { - "attribute": "ZCLAttributeDef(id=0x0039, name='battery_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0020": { - "attribute": "ZCLAttributeDef(id=0x0020, name='battery_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 28 - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='mains_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='mains_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='mains_volt_max_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='mains_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='mains_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='mains_voltage_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [ - 33, - "battery_percentage_remaining" - ] - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0019": { - "endpoint_attribute": "ota", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='current_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='downloaded_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='downloaded_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='file_offset', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='image_stamp', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='image_type_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='image_upgrade_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='manufacturer_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='minimum_block_req_delay', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='upgrade_activation_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='upgrade_server_id', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='upgrade_timeout_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='app_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='date_code', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='device_enabled', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='disable_local_config', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='generic_device_class', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='generic_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='hw_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='location_desc', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='manufacturer_version_details', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='model', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='physical_env', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='power_source', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='product_code', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='product_label', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='product_url', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='serial_number', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='sw_build_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zcl_version', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0019": { - "endpoint_attribute": "ota", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='current_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='downloaded_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='downloaded_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='file_offset', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='image_stamp', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='image_type_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='image_upgrade_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='manufacturer_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='minimum_block_req_delay', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='upgrade_activation_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='upgrade_server_id', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='upgrade_timeout_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - }, - "2": { - "device_type": { - "name": "undefined_0x6f01", - "id": 28417 - }, - "profile_id": 260, - "in_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 0.0 - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - }, - "3": { - "device_type": { - "name": "undefined_0x6f01", - "id": 28417 - }, - "profile_id": 260, - "in_clusters": { - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='engineering_units', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='max_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0045": { - "attribute": "ZCLAttributeDef(id=0x0045, name='min_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 24.570003509521484 - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006a": { - "attribute": "ZCLAttributeDef(id=0x006A, name='resolution', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='engineering_units', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='max_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0045": { - "attribute": "ZCLAttributeDef(id=0x0045, name='min_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006a": { - "attribute": "ZCLAttributeDef(id=0x006A, name='resolution', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - } - }, - "original_signature": { - "models_info": [ - [ - "LUMI", - "lumi.remote.cagl02" - ] - ], - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0003", - "0x0006", - "0x0012" - ], - "output_clusters": [ - "0x0000", - "0x0003", - "0x0019" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x0012" - ], - "output_clusters": [ - "0x0012" - ] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x0103", - "input_clusters": [ - "0x000c" - ], - "output_clusters": [ - "0x000c" - ] - } - } - }, - "zha_lib_entities": { - "button": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:14:f3:e7-1-3", - "platform": "button", - "class_name": "IdentifyButton", - "translation_key": null, - "device_class": "identify", - "state_class": null, - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IdentifyClusterHandler", - "generic_id": "cluster_handler_0x0003", - "endpoint_id": 1, - "cluster": { - "id": 3, - "name": "Identify", - "type": "server" - }, - "id": "1:0x0003", - "unique_id": "54:ef:44:10:00:14:f3:e7:1:0x0003", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 231, - 243, - 20, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "command": "identify", - "args": [ - 5 - ], - "kwargs": {} - }, - "state": { - "class_name": "IdentifyButton", - "available": false - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:14:f3:e7-1-1", - "platform": "sensor", - "class_name": "Battery", - "translation_key": null, - "device_class": "battery", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "PowerConfigurationClusterHandler", - "generic_id": "cluster_handler_0x0001", - "endpoint_id": 1, - "cluster": { - "id": 1, - "name": "Power Configuration", - "type": "server" - }, - "id": "1:0x0001", - "unique_id": "54:ef:44:10:00:14:f3:e7:1:0x0001", - "status": "CREATED", - "value_attribute": "battery_voltage" - } - ], - "device_ieee": [ - 231, - 243, - 20, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "battery_percentage_remaining", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "Battery", - "available": false, - "state": null, - "battery_size": "CR2450", - "battery_quantity": 1, - "battery_voltage": 2.8 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:14:f3:e7-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "54:ef:44:10:00:14:f3:e7:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 231, - 243, - 20, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": false, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:14:f3:e7-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "54:ef:44:10:00:14:f3:e7:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 231, - 243, - 20, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": false, - "state": null - } - } - ], - "update": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "54:ef:44:10:00:14:f3:e7-1-25-firmware_update", - "platform": "update", - "class_name": "FirmwareUpdateEntity", - "translation_key": null, - "device_class": "firmware", - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OtaClusterHandler", - "generic_id": "cluster_handler_0x0019", - "endpoint_id": 1, - "cluster": { - "id": 25, - "name": "Ota", - "type": "server" - }, - "id": "1:0x0019", - "unique_id": "54:ef:44:10:00:14:f3:e7:1:0x0019", - "status": "CREATED", - "value_attribute": null - }, - { - "class_name": "OtaClientClusterHandler", - "generic_id": "cluster_handler_0x0019", - "endpoint_id": 1, - "cluster": { - "id": 25, - "name": "Ota", - "type": "client" - }, - "id": "1:0x0019", - "unique_id": "54:ef:44:10:00:14:f3:e7:1:0x0019", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 231, - 243, - 20, - 0, - 16, - 68, - 239, - 84 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "supported_features": 7 - }, - "state": { - "class_name": "FirmwareUpdateEntity", - "available": false, - "installed_version": null, - "in_progress": false, - "progress": 0, - "latest_version": null, - "release_summary": null, - "release_url": null - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/lumi-lumi-sensor-86sw2.json b/tests/data/devices/lumi-lumi-sensor-86sw2.json deleted file mode 100644 index 0fb4fcec..00000000 --- a/tests/data/devices/lumi-lumi-sensor-86sw2.json +++ /dev/null @@ -1,1903 +0,0 @@ -{ - "ieee": "00:15:8d:00:02:54:cb:fa", - "nwk": 35746, - "manufacturer": "LUMI", - "model": "lumi.sensor_86sw2", - "name": "LUMI lumi.sensor_86sw2", - "quirk_applied": true, - "quirk_class": "zhaquirks.xiaomi.aqara.remote_b286acn01.RemoteB286ACN01", - "quirk_id": null, - "manufacturer_code": 4151, - "power_source": "Battery or Unknown", - "lqi": null, - "rssi": null, - "last_seen": "2023-11-06T12:37:13", - "available": false, - "device_type": "EndDevice", - "signature": { - "node_descriptor": { - "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": 4151, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 0, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0006", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0002", - "0x0003", - "0x0012", - "0x0019", - "0xffff" - ], - "output_clusters": [ - "0x0000", - "0x0003", - "0x0004", - "0x0005", - "0x0006", - "0x0012", - "0x0019", - "0xffff" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x0006", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0003", - "0x0004", - "0x0005", - "0x0006", - "0x0012" - ] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x0006", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0003", - "0x0004", - "0x0005", - "0x0006", - "0x000c", - "0x0012" - ] - } - }, - "manufacturer": "LUMI", - "model": "lumi.sensor_86sw2" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "button.lumi_lumi_sensor_86sw2_identify_2", - "name": "LUMI lumi.sensor_86sw2" - }, - { - "entity_id": "sensor.lumi_lumi_sensor_86sw2_battery_2", - "name": "LUMI lumi.sensor_86sw2" - }, - { - "entity_id": "sensor.lumi_lumi_sensor_86sw2_device_temperature_2", - "name": "LUMI lumi.sensor_86sw2" - }, - { - "entity_id": "update.lumi_lumi_sensor_86sw2_firmware_2", - "name": "LUMI lumi.sensor_86sw2" - } - ], - "neighbors": [], - "routes": [], - "endpoint_names": [ - { - "name": "REMOTE_CONTROL" - }, - { - "name": "REMOTE_CONTROL" - }, - { - "name": "REMOTE_CONTROL" - } - ], - "user_given_name": null, - "device_reg_id": "1a7c7edd0b8250e2e97d40f8519a1291", - "area_id": null, - "cluster_details": { - "1": { - "device_type": { - "name": "REMOTE_CONTROL", - "id": 6 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='app_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 5 - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='date_code', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='device_enabled', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='disable_local_config', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='generic_device_class', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='generic_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='hw_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='location_desc', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "LUMI" - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='manufacturer_version_details', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='model', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "lumi.sensor_86sw2" - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='physical_env', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='power_source', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='product_code', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='product_label', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='product_url', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='serial_number', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='sw_build_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zcl_version', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0001": { - "endpoint_attribute": "power", - "attributes": { - "0x0052": { - "attribute": "ZCLAttributeDef(id=0x0052, name='battery_2_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='battery_2_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005e": { - "attribute": "ZCLAttributeDef(id=0x005E, name='battery_2_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0050": { - "attribute": "ZCLAttributeDef(id=0x0050, name='battery_2_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005a": { - "attribute": "ZCLAttributeDef(id=0x005A, name='battery_2_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005b": { - "attribute": "ZCLAttributeDef(id=0x005B, name='battery_2_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005c": { - "attribute": "ZCLAttributeDef(id=0x005C, name='battery_2_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005d": { - "attribute": "ZCLAttributeDef(id=0x005D, name='battery_2_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='battery_2_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0053": { - "attribute": "ZCLAttributeDef(id=0x0053, name='battery_2_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0054": { - "attribute": "ZCLAttributeDef(id=0x0054, name='battery_2_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='battery_2_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0056": { - "attribute": "ZCLAttributeDef(id=0x0056, name='battery_2_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0057": { - "attribute": "ZCLAttributeDef(id=0x0057, name='battery_2_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0058": { - "attribute": "ZCLAttributeDef(id=0x0058, name='battery_2_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0059": { - "attribute": "ZCLAttributeDef(id=0x0059, name='battery_2_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0040": { - "attribute": "ZCLAttributeDef(id=0x0040, name='battery_2_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0072": { - "attribute": "ZCLAttributeDef(id=0x0072, name='battery_3_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='battery_3_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007e": { - "attribute": "ZCLAttributeDef(id=0x007E, name='battery_3_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0070": { - "attribute": "ZCLAttributeDef(id=0x0070, name='battery_3_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007a": { - "attribute": "ZCLAttributeDef(id=0x007A, name='battery_3_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007b": { - "attribute": "ZCLAttributeDef(id=0x007B, name='battery_3_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007c": { - "attribute": "ZCLAttributeDef(id=0x007C, name='battery_3_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007d": { - "attribute": "ZCLAttributeDef(id=0x007D, name='battery_3_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0061": { - "attribute": "ZCLAttributeDef(id=0x0061, name='battery_3_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0073": { - "attribute": "ZCLAttributeDef(id=0x0073, name='battery_3_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0074": { - "attribute": "ZCLAttributeDef(id=0x0074, name='battery_3_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0071": { - "attribute": "ZCLAttributeDef(id=0x0071, name='battery_3_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0076": { - "attribute": "ZCLAttributeDef(id=0x0076, name='battery_3_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0077": { - "attribute": "ZCLAttributeDef(id=0x0077, name='battery_3_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0078": { - "attribute": "ZCLAttributeDef(id=0x0078, name='battery_3_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0079": { - "attribute": "ZCLAttributeDef(id=0x0079, name='battery_3_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0060": { - "attribute": "ZCLAttributeDef(id=0x0060, name='battery_3_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0032": { - "attribute": "ZCLAttributeDef(id=0x0032, name='battery_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0035": { - "attribute": "ZCLAttributeDef(id=0x0035, name='battery_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003e": { - "attribute": "ZCLAttributeDef(id=0x003E, name='battery_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0030": { - "attribute": "ZCLAttributeDef(id=0x0030, name='battery_manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003a": { - "attribute": "ZCLAttributeDef(id=0x003A, name='battery_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003b": { - "attribute": "ZCLAttributeDef(id=0x003B, name='battery_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003c": { - "attribute": "ZCLAttributeDef(id=0x003C, name='battery_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003d": { - "attribute": "ZCLAttributeDef(id=0x003D, name='battery_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0021": { - "attribute": "ZCLAttributeDef(id=0x0021, name='battery_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 118 - }, - "0x0033": { - "attribute": "ZCLAttributeDef(id=0x0033, name='battery_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 1 - }, - "0x0034": { - "attribute": "ZCLAttributeDef(id=0x0034, name='battery_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0031": { - "attribute": "ZCLAttributeDef(id=0x0031, name='battery_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 10 - }, - "0x0036": { - "attribute": "ZCLAttributeDef(id=0x0036, name='battery_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0037": { - "attribute": "ZCLAttributeDef(id=0x0037, name='battery_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0038": { - "attribute": "ZCLAttributeDef(id=0x0038, name='battery_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0039": { - "attribute": "ZCLAttributeDef(id=0x0039, name='battery_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0020": { - "attribute": "ZCLAttributeDef(id=0x0020, name='battery_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 29.9 - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='mains_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='mains_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='mains_volt_max_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='mains_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='mains_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='mains_voltage_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0002": { - "endpoint_attribute": "device_temperature", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='current_temperature', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 2100 - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='dev_temp_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='high_temp_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='high_temp_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='low_temp_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='low_temp_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='max_temp_experienced', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='min_temp_experienced', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='over_temp_total_dwell', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0019": { - "endpoint_attribute": "ota", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='current_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='downloaded_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='downloaded_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='file_offset', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='image_stamp', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='image_type_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='image_upgrade_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='manufacturer_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='minimum_block_req_delay', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='upgrade_activation_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='upgrade_server_id', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='upgrade_timeout_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0xffff": { - "endpoint_attribute": "manufacturer_specific", - "attributes": {}, - "unsupported_attributes": [] - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='app_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='date_code', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='device_enabled', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='disable_local_config', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='generic_device_class', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='generic_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='hw_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='location_desc', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='manufacturer_version_details', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='model', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='physical_env', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='power_source', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='product_code', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='product_label', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='product_url', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='serial_number', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='sw_build_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zcl_version', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0004": { - "endpoint_attribute": "groups", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0005": { - "endpoint_attribute": "scenes", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='count', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_group', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='current_scene', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='last_configured_by', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='scene_valid', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0019": { - "endpoint_attribute": "ota", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='current_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='downloaded_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='downloaded_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='file_offset', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='image_stamp', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='image_type_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='image_upgrade_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='manufacturer_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='minimum_block_req_delay', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='upgrade_activation_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='upgrade_server_id', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='upgrade_timeout_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0xffff": { - "endpoint_attribute": "manufacturer_specific", - "attributes": {}, - "unsupported_attributes": [] - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='global_scene_control', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4002": { - "attribute": "ZCLAttributeDef(id=0x4002, name='off_wait_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='on_off', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4001": { - "attribute": "ZCLAttributeDef(id=0x4001, name='on_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4003": { - "attribute": "ZCLAttributeDef(id=0x4003, name='start_up_on_off', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - }, - "2": { - "device_type": { - "name": "REMOTE_CONTROL", - "id": 6 - }, - "profile_id": 260, - "in_clusters": { - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0004": { - "endpoint_attribute": "groups", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0005": { - "endpoint_attribute": "scenes", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='count', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_group', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='current_scene', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='last_configured_by', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='scene_valid', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='global_scene_control', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4002": { - "attribute": "ZCLAttributeDef(id=0x4002, name='off_wait_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='on_off', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4001": { - "attribute": "ZCLAttributeDef(id=0x4001, name='on_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4003": { - "attribute": "ZCLAttributeDef(id=0x4003, name='start_up_on_off', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - }, - "3": { - "device_type": { - "name": "REMOTE_CONTROL", - "id": 6 - }, - "profile_id": 260, - "in_clusters": { - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0004": { - "endpoint_attribute": "groups", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0005": { - "endpoint_attribute": "scenes", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='count', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_group', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='current_scene', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='last_configured_by', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='scene_valid', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='engineering_units', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='max_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0045": { - "attribute": "ZCLAttributeDef(id=0x0045, name='min_present_value', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006a": { - "attribute": "ZCLAttributeDef(id=0x006A, name='resolution', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='global_scene_control', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4002": { - "attribute": "ZCLAttributeDef(id=0x4002, name='off_wait_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='on_off', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4001": { - "attribute": "ZCLAttributeDef(id=0x4001, name='on_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4003": { - "attribute": "ZCLAttributeDef(id=0x4003, name='start_up_on_off', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - } - }, - "original_signature": { - "models_info": [ - [ - "LUMI", - "lumi.remote.b286acn01" - ], - [ - "LUMI", - "lumi.remote.b286acn02" - ], - [ - "LUMI", - "lumi.sensor_86sw2" - ] - ], - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x5f01", - "input_clusters": [ - "0x0000", - "0x0003", - "0x0019", - "0xffff", - "0x0012" - ], - "output_clusters": [ - "0x0000", - "0x0003", - "0x0004", - "0x0005", - "0x0019", - "0xffff", - "0x0012" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x5f02", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0003", - "0x0004", - "0x0005", - "0x0012" - ] - }, - "3": { - "profile_id": "0x0104", - "device_type": "0x5f03", - "input_clusters": [ - "0x0003", - "0x000c" - ], - "output_clusters": [ - "0x0003", - "0x0004", - "0x0005", - "0x000c" - ] - } - } - }, - "zha_lib_entities": { - "button": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:54:cb:fa-1-3", - "platform": "button", - "class_name": "IdentifyButton", - "translation_key": null, - "device_class": "identify", - "state_class": null, - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IdentifyClusterHandler", - "generic_id": "cluster_handler_0x0003", - "endpoint_id": 1, - "cluster": { - "id": 3, - "name": "Identify", - "type": "server" - }, - "id": "1:0x0003", - "unique_id": "00:15:8d:00:02:54:cb:fa:1:0x0003", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 250, - 203, - 84, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "command": "identify", - "args": [ - 5 - ], - "kwargs": {} - }, - "state": { - "class_name": "IdentifyButton", - "available": false - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:54:cb:fa-1-1", - "platform": "sensor", - "class_name": "Battery", - "translation_key": null, - "device_class": "battery", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "PowerConfigurationClusterHandler", - "generic_id": "cluster_handler_0x0001", - "endpoint_id": 1, - "cluster": { - "id": 1, - "name": "Power Configuration", - "type": "server" - }, - "id": "1:0x0001", - "unique_id": "00:15:8d:00:02:54:cb:fa:1:0x0001", - "status": "CREATED", - "value_attribute": "battery_voltage" - } - ], - "device_ieee": [ - 250, - 203, - 84, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "battery_percentage_remaining", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "Battery", - "available": false, - "state": 59, - "battery_size": "CR2032", - "battery_quantity": 1, - "battery_voltage": 2.99 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:54:cb:fa-1-2", - "platform": "sensor", - "class_name": "DeviceTemperature", - "translation_key": "device_temperature", - "device_class": "temperature", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "DeviceTemperatureClusterHandler", - "generic_id": "cluster_handler_0x0002", - "endpoint_id": 1, - "cluster": { - "id": 2, - "name": "Device Temperature", - "type": "server" - }, - "id": "1:0x0002", - "unique_id": "00:15:8d:00:02:54:cb:fa:1:0x0002", - "status": "CREATED", - "value_attribute": "current_temperature" - } - ], - "device_ieee": [ - 250, - 203, - 84, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "current_temperature", - "decimals": 1, - "divisor": 100, - "multiplier": 1, - "unit": "°C" - }, - "state": { - "class_name": "DeviceTemperature", - "available": false, - "state": 21.0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:54:cb:fa-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:15:8d:00:02:54:cb:fa:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 250, - 203, - 84, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": false, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:54:cb:fa-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:15:8d:00:02:54:cb:fa:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 250, - 203, - 84, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": false, - "state": null - } - } - ], - "update": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:54:cb:fa-1-25-firmware_update", - "platform": "update", - "class_name": "FirmwareUpdateEntity", - "translation_key": null, - "device_class": "firmware", - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OtaClusterHandler", - "generic_id": "cluster_handler_0x0019", - "endpoint_id": 1, - "cluster": { - "id": 25, - "name": "Ota", - "type": "server" - }, - "id": "1:0x0019", - "unique_id": "00:15:8d:00:02:54:cb:fa:1:0x0019", - "status": "CREATED", - "value_attribute": null - }, - { - "class_name": "OtaClientClusterHandler", - "generic_id": "cluster_handler_0x0019", - "endpoint_id": 1, - "cluster": { - "id": 25, - "name": "Ota", - "type": "client" - }, - "id": "1:0x0019", - "unique_id": "00:15:8d:00:02:54:cb:fa:1:0x0019", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 250, - 203, - 84, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "supported_features": 7 - }, - "state": { - "class_name": "FirmwareUpdateEntity", - "available": false, - "installed_version": null, - "in_progress": false, - "progress": 0, - "latest_version": null, - "release_summary": null, - "release_url": null - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/lumi-lumi-sensor-smoke.json b/tests/data/devices/lumi-lumi-sensor-smoke.json deleted file mode 100644 index e57dde15..00000000 --- a/tests/data/devices/lumi-lumi-sensor-smoke.json +++ /dev/null @@ -1,643 +0,0 @@ -{ - "ieee": "00:15:8d:00:02:cb:2e:a9", - "nwk": 17929, - "manufacturer": "LUMI", - "model": "lumi.sensor_smoke", - "name": "LUMI lumi.sensor_smoke", - "quirk_applied": true, - "quirk_class": "zhaquirks.xiaomi.mija.smoke.MijiaHoneywellSmokeDetectorSensor", - "quirk_id": null, - "manufacturer_code": 4151, - "power_source": "Battery or Unknown", - "lqi": null, - "rssi": null, - "last_seen": "2024-08-26T13:47:48", - "available": true, - "device_type": "EndDevice", - "signature": { - "node_descriptor": { - "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": 4151, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 0, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0402", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0002", - "0x0003", - "0x000c", - "0x0012", - "0x0500" - ], - "output_clusters": [ - "0x0019" - ] - } - }, - "manufacturer": "LUMI", - "model": "lumi.sensor_smoke" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "binary_sensor.lumi_lumi_sensor_smoke_iaszone", - "name": "LUMI lumi.sensor_smoke" - }, - { - "entity_id": "button.lumi_lumi_sensor_smoke_identifybutton", - "name": "LUMI lumi.sensor_smoke" - }, - { - "entity_id": "sensor.lumi_lumi_sensor_smoke_battery", - "name": "LUMI lumi.sensor_smoke" - }, - { - "entity_id": "sensor.lumi_lumi_sensor_smoke_devicetemperature", - "name": "LUMI lumi.sensor_smoke" - }, - { - "entity_id": "update.kitchen_smoke_firmware", - "name": "LUMI lumi.sensor_smoke" - } - ], - "neighbors": [], - "routes": [], - "endpoint_names": [ - { - "name": "IAS_ZONE" - } - ], - "user_given_name": "Kitchen Smoke", - "device_reg_id": "bea8bb248fb847ab8305c447e44afe8e", - "area_id": "d392f14e42674da88134d6ebbf0bfaca", - "cluster_details": { - "1": { - "device_type": { - "name": "IAS_ZONE", - "id": 1026 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0001": { - "attribute_name": "app_version", - "value": 1 - }, - "0x0010": { - "attribute_name": "location_desc", - "value": "" - }, - "0x0004": { - "attribute_name": "manufacturer", - "value": "LUMI" - }, - "0x0005": { - "attribute_name": "model", - "value": "lumi.sensor_smoke" - }, - "0x0007": { - "attribute_name": "power_source", - "value": 3 - } - }, - "unsupported_attributes": {} - }, - "0x0001": { - "endpoint_attribute": "power", - "attributes": { - "0x0021": { - "attribute_name": "battery_percentage_remaining", - "value": 200 - }, - "0x0033": { - "attribute_name": "battery_quantity", - "value": 1 - }, - "0x0031": { - "attribute_name": "battery_size", - "value": 8 - }, - "0x0020": { - "attribute_name": "battery_voltage", - "value": 31.8 - } - }, - "unsupported_attributes": {} - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": {}, - "unsupported_attributes": {} - }, - "0x000c": { - "endpoint_attribute": "analog_input", - "attributes": { - "0x0055": { - "attribute_name": "present_value", - "value": 0.0 - }, - "0x006f": { - "attribute_name": "status_flags", - "value": 0 - } - }, - "unsupported_attributes": {} - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x004a": { - "attribute_name": "number_of_states", - "value": 6 - }, - "0x0055": { - "attribute_name": "present_value", - "value": 0 - }, - "0x006f": { - "attribute_name": "status_flags", - "value": 0 - } - }, - "unsupported_attributes": {} - }, - "0x0500": { - "endpoint_attribute": "ias_zone", - "attributes": { - "0x0010": { - "attribute_name": "cie_addr", - "value": "00:00:00:00:00:00:00:00" - }, - "0xfff0": { - "attribute_name": "get_status", - "value": 72620544276627460 - }, - "0x0011": { - "attribute_name": "zone_id", - "value": 255 - }, - "0x0000": { - "attribute_name": "zone_state", - "value": 0 - }, - "0x0002": { - "attribute_name": "zone_status", - "value": 0 - }, - "0x0001": { - "attribute_name": "zone_type", - "value": 40 - } - }, - "unsupported_attributes": {} - }, - "0x0002": { - "endpoint_attribute": "device_temperature", - "attributes": { - "0x0000": { - "attribute_name": "current_temperature", - "value": 2300 - } - }, - "unsupported_attributes": {} - } - }, - "out_clusters": { - "0x0019": { - "endpoint_attribute": "ota", - "attributes": {}, - "unsupported_attributes": {} - } - } - } - }, - "original_signature": { - "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": 4151, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 0, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "models_info": [ - [ - "LUMI", - "lumi.sensor_smoke" - ] - ], - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0402", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0003", - "0x000c", - "0x0012", - "0x0500" - ], - "output_clusters": [ - "0x0019" - ] - } - } - }, - "zha_lib_entities": { - "binary_sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:cb:2e:a9-1-1280", - "platform": "binary_sensor", - "class_name": "IASZone", - "translation_key": null, - "device_class": "smoke", - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IASZoneClusterHandler", - "generic_id": "cluster_handler_0x0500", - "endpoint_id": 1, - "cluster": { - "id": 1280, - "name": "IAS Zone", - "type": "server" - }, - "id": "1:0x0500", - "unique_id": "00:15:8d:00:02:cb:2e:a9:1:0x0500", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 169, - 46, - 203, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute_name": "zone_status" - }, - "state": { - "class_name": "IASZone", - "available": true, - "state": false - } - } - ], - "button": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:cb:2e:a9-1-3", - "platform": "button", - "class_name": "IdentifyButton", - "translation_key": null, - "device_class": "identify", - "state_class": null, - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IdentifyClusterHandler", - "generic_id": "cluster_handler_0x0003", - "endpoint_id": 1, - "cluster": { - "id": 3, - "name": "Identify", - "type": "server" - }, - "id": "1:0x0003", - "unique_id": "00:15:8d:00:02:cb:2e:a9:1:0x0003", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 169, - 46, - 203, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "command": "identify", - "args": [ - 5 - ], - "kwargs": {} - }, - "state": { - "class_name": "IdentifyButton", - "available": true - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:cb:2e:a9-1-1", - "platform": "sensor", - "class_name": "Battery", - "translation_key": null, - "device_class": "battery", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "PowerConfigurationClusterHandler", - "generic_id": "cluster_handler_0x0001", - "endpoint_id": 1, - "cluster": { - "id": 1, - "name": "Power Configuration", - "type": "server" - }, - "id": "1:0x0001", - "unique_id": "00:15:8d:00:02:cb:2e:a9:1:0x0001", - "status": "CREATED", - "value_attribute": "battery_voltage" - } - ], - "device_ieee": [ - 169, - 46, - 203, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": "battery_percentage_remaining", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "Battery", - "available": true, - "state": 100, - "battery_size": "CR123A", - "battery_quantity": 1, - "battery_voltage": 3.18 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:cb:2e:a9-1-2", - "platform": "sensor", - "class_name": "DeviceTemperature", - "translation_key": "device_temperature", - "device_class": "temperature", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "DeviceTemperatureClusterHandler", - "generic_id": "cluster_handler_0x0002", - "endpoint_id": 1, - "cluster": { - "id": 2, - "name": "Device Temperature", - "type": "server" - }, - "id": "1:0x0002", - "unique_id": "00:15:8d:00:02:cb:2e:a9:1:0x0002", - "status": "CREATED", - "value_attribute": "current_temperature" - } - ], - "device_ieee": [ - 169, - 46, - 203, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": "current_temperature", - "decimals": 1, - "divisor": 100, - "multiplier": 1, - "unit": "°C" - }, - "state": { - "class_name": "DeviceTemperature", - "available": true, - "state": 23.0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:cb:2e:a9-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:15:8d:00:02:cb:2e:a9:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 169, - 46, - 203, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": true, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:cb:2e:a9-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:15:8d:00:02:cb:2e:a9:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 169, - 46, - 203, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": true, - "state": null - } - } - ], - "update": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:cb:2e:a9-1-25-firmware_update", - "platform": "update", - "class_name": "FirmwareUpdateEntity", - "translation_key": null, - "device_class": "firmware", - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OtaClientClusterHandler", - "generic_id": "cluster_handler_0x0019", - "endpoint_id": 1, - "cluster": { - "id": 25, - "name": "Ota", - "type": "client" - }, - "id": "1:0x0019", - "unique_id": "00:15:8d:00:02:cb:2e:a9:1:0x0019", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 169, - 46, - 203, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "supported_features": 7 - }, - "state": { - "class_name": "FirmwareUpdateEntity", - "available": true, - "installed_version": null, - "in_progress": false, - "progress": 0, - "latest_version": null, - "release_summary": null, - "release_url": null - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/lumi-lumi-sensor-switch-aq3.json b/tests/data/devices/lumi-lumi-sensor-switch-aq3.json deleted file mode 100644 index 4d26d1e1..00000000 --- a/tests/data/devices/lumi-lumi-sensor-switch-aq3.json +++ /dev/null @@ -1,901 +0,0 @@ -{ - "ieee": "00:15:8d:00:02:b0:e5:91", - "nwk": 15920, - "manufacturer": "LUMI", - "model": "lumi.sensor_switch.aq3", - "name": "LUMI lumi.sensor_switch.aq3", - "quirk_applied": true, - "quirk_class": "zhaquirks.xiaomi.aqara.sensor_switch_aq3.SwitchAQ3", - "quirk_id": null, - "manufacturer_code": 4151, - "power_source": "Battery or Unknown", - "lqi": null, - "rssi": null, - "last_seen": "2024-08-25T13:33:22", - "available": false, - "device_type": "EndDevice", - "signature": { - "node_descriptor": { - "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": 4151, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 0, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0006", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0002", - "0x0012" - ], - "output_clusters": [ - "0x0000", - "0x0006" - ] - } - }, - "manufacturer": "LUMI", - "model": "lumi.sensor_switch.aq3" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "sensor.lumi_lumi_sensor_switch_aq3_battery", - "name": "LUMI lumi.sensor_switch.aq3" - }, - { - "entity_id": "sensor.lumi_lumi_sensor_switch_aq3_device_temperature", - "name": "LUMI lumi.sensor_switch.aq3" - } - ], - "neighbors": [], - "routes": [], - "endpoint_names": [ - { - "name": "REMOTE_CONTROL" - } - ], - "user_given_name": null, - "device_reg_id": "2f8aa84162537f42690c6f6b8fac90ef", - "area_id": null, - "cluster_details": { - "1": { - "device_type": { - "name": "REMOTE_CONTROL", - "id": 6 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='app_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='date_code', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='device_enabled', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='disable_local_config', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='generic_device_class', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='generic_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='hw_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='location_desc', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "LUMI" - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='manufacturer_version_details', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='model', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "lumi.sensor_switch.aq3" - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='physical_env', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='power_source', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='product_code', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='product_label', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='product_url', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='serial_number', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='sw_build_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zcl_version', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0001": { - "endpoint_attribute": "power", - "attributes": { - "0x0052": { - "attribute": "ZCLAttributeDef(id=0x0052, name='battery_2_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='battery_2_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005e": { - "attribute": "ZCLAttributeDef(id=0x005E, name='battery_2_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0050": { - "attribute": "ZCLAttributeDef(id=0x0050, name='battery_2_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005a": { - "attribute": "ZCLAttributeDef(id=0x005A, name='battery_2_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005b": { - "attribute": "ZCLAttributeDef(id=0x005B, name='battery_2_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005c": { - "attribute": "ZCLAttributeDef(id=0x005C, name='battery_2_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005d": { - "attribute": "ZCLAttributeDef(id=0x005D, name='battery_2_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='battery_2_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0053": { - "attribute": "ZCLAttributeDef(id=0x0053, name='battery_2_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0054": { - "attribute": "ZCLAttributeDef(id=0x0054, name='battery_2_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='battery_2_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0056": { - "attribute": "ZCLAttributeDef(id=0x0056, name='battery_2_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0057": { - "attribute": "ZCLAttributeDef(id=0x0057, name='battery_2_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0058": { - "attribute": "ZCLAttributeDef(id=0x0058, name='battery_2_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0059": { - "attribute": "ZCLAttributeDef(id=0x0059, name='battery_2_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0040": { - "attribute": "ZCLAttributeDef(id=0x0040, name='battery_2_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0072": { - "attribute": "ZCLAttributeDef(id=0x0072, name='battery_3_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='battery_3_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007e": { - "attribute": "ZCLAttributeDef(id=0x007E, name='battery_3_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0070": { - "attribute": "ZCLAttributeDef(id=0x0070, name='battery_3_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007a": { - "attribute": "ZCLAttributeDef(id=0x007A, name='battery_3_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007b": { - "attribute": "ZCLAttributeDef(id=0x007B, name='battery_3_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007c": { - "attribute": "ZCLAttributeDef(id=0x007C, name='battery_3_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007d": { - "attribute": "ZCLAttributeDef(id=0x007D, name='battery_3_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0061": { - "attribute": "ZCLAttributeDef(id=0x0061, name='battery_3_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0073": { - "attribute": "ZCLAttributeDef(id=0x0073, name='battery_3_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0074": { - "attribute": "ZCLAttributeDef(id=0x0074, name='battery_3_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0071": { - "attribute": "ZCLAttributeDef(id=0x0071, name='battery_3_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0076": { - "attribute": "ZCLAttributeDef(id=0x0076, name='battery_3_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0077": { - "attribute": "ZCLAttributeDef(id=0x0077, name='battery_3_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0078": { - "attribute": "ZCLAttributeDef(id=0x0078, name='battery_3_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0079": { - "attribute": "ZCLAttributeDef(id=0x0079, name='battery_3_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0060": { - "attribute": "ZCLAttributeDef(id=0x0060, name='battery_3_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0032": { - "attribute": "ZCLAttributeDef(id=0x0032, name='battery_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0035": { - "attribute": "ZCLAttributeDef(id=0x0035, name='battery_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003e": { - "attribute": "ZCLAttributeDef(id=0x003E, name='battery_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0030": { - "attribute": "ZCLAttributeDef(id=0x0030, name='battery_manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003a": { - "attribute": "ZCLAttributeDef(id=0x003A, name='battery_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003b": { - "attribute": "ZCLAttributeDef(id=0x003B, name='battery_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003c": { - "attribute": "ZCLAttributeDef(id=0x003C, name='battery_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003d": { - "attribute": "ZCLAttributeDef(id=0x003D, name='battery_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0021": { - "attribute": "ZCLAttributeDef(id=0x0021, name='battery_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 125 - }, - "0x0033": { - "attribute": "ZCLAttributeDef(id=0x0033, name='battery_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 1 - }, - "0x0034": { - "attribute": "ZCLAttributeDef(id=0x0034, name='battery_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0031": { - "attribute": "ZCLAttributeDef(id=0x0031, name='battery_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 10 - }, - "0x0036": { - "attribute": "ZCLAttributeDef(id=0x0036, name='battery_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0037": { - "attribute": "ZCLAttributeDef(id=0x0037, name='battery_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0038": { - "attribute": "ZCLAttributeDef(id=0x0038, name='battery_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0039": { - "attribute": "ZCLAttributeDef(id=0x0039, name='battery_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0020": { - "attribute": "ZCLAttributeDef(id=0x0020, name='battery_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 29.9 - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='mains_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='mains_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='mains_volt_max_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='mains_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='mains_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='mains_voltage_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [ - 49, - 51, - "battery_quantity", - "battery_size" - ] - }, - "0x0002": { - "endpoint_attribute": "device_temperature", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='current_temperature', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 2800 - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='dev_temp_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='high_temp_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='high_temp_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='low_temp_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='low_temp_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='max_temp_experienced', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='min_temp_experienced', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='over_temp_total_dwell', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 1.0 - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='app_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='date_code', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='device_enabled', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='disable_local_config', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='generic_device_class', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='generic_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='hw_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='location_desc', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='manufacturer_version_details', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='model', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='physical_env', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='power_source', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='product_code', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='product_label', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='product_url', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='serial_number', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='sw_build_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zcl_version', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='global_scene_control', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4002": { - "attribute": "ZCLAttributeDef(id=0x4002, name='off_wait_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='on_off', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4001": { - "attribute": "ZCLAttributeDef(id=0x4001, name='on_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4003": { - "attribute": "ZCLAttributeDef(id=0x4003, name='start_up_on_off', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - } - }, - "original_signature": { - "models_info": [ - [ - "LUMI", - "lumi.sensor_switch.aq3" - ], - [ - "LUMI", - "lumi.sensor_swit" - ] - ], - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x5f01", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0006", - "0x0012" - ], - "output_clusters": [ - "0x0000" - ] - } - } - }, - "zha_lib_entities": { - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:b0:e5:91-1-1", - "platform": "sensor", - "class_name": "Battery", - "translation_key": null, - "device_class": "battery", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "PowerConfigurationClusterHandler", - "generic_id": "cluster_handler_0x0001", - "endpoint_id": 1, - "cluster": { - "id": 1, - "name": "Power Configuration", - "type": "server" - }, - "id": "1:0x0001", - "unique_id": "00:15:8d:00:02:b0:e5:91:1:0x0001", - "status": "CREATED", - "value_attribute": "battery_voltage" - } - ], - "device_ieee": [ - 145, - 229, - 176, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "battery_percentage_remaining", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "Battery", - "available": false, - "state": 62, - "battery_size": "CR2032", - "battery_quantity": 1, - "battery_voltage": 2.99 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:b0:e5:91-1-2", - "platform": "sensor", - "class_name": "DeviceTemperature", - "translation_key": "device_temperature", - "device_class": "temperature", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "DeviceTemperatureClusterHandler", - "generic_id": "cluster_handler_0x0002", - "endpoint_id": 1, - "cluster": { - "id": 2, - "name": "Device Temperature", - "type": "server" - }, - "id": "1:0x0002", - "unique_id": "00:15:8d:00:02:b0:e5:91:1:0x0002", - "status": "CREATED", - "value_attribute": "current_temperature" - } - ], - "device_ieee": [ - 145, - 229, - 176, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "current_temperature", - "decimals": 1, - "divisor": 100, - "multiplier": 1, - "unit": "°C" - }, - "state": { - "class_name": "DeviceTemperature", - "available": false, - "state": 28.0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:b0:e5:91-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:15:8d:00:02:b0:e5:91:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 145, - 229, - 176, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": false, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:b0:e5:91-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "BasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:15:8d:00:02:b0:e5:91:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 145, - 229, - 176, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": false, - "state": null - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/lumi-lumi-vibration-aq1.json b/tests/data/devices/lumi-lumi-vibration-aq1.json deleted file mode 100644 index b79ac254..00000000 --- a/tests/data/devices/lumi-lumi-vibration-aq1.json +++ /dev/null @@ -1,1513 +0,0 @@ -{ - "ieee": "00:15:8d:00:02:af:97:27", - "nwk": 60859, - "manufacturer": "LUMI", - "model": "lumi.vibration.aq1", - "name": "LUMI lumi.vibration.aq1", - "quirk_applied": true, - "quirk_class": "zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1", - "quirk_id": "xiaomi.aqara_vibration_aq1", - "manufacturer_code": 4151, - "power_source": "Battery or Unknown", - "lqi": null, - "rssi": null, - "last_seen": "2022-12-31T10:25:53", - "available": false, - "device_type": "EndDevice", - "signature": { - "node_descriptor": { - "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": 4151, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 0, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x000a", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0002", - "0x0003", - "0x0019", - "0x0101", - "0x0500" - ], - "output_clusters": [ - "0x0000", - "0x0003", - "0x0004", - "0x0005", - "0x0019" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x5f02", - "input_clusters": [ - "0x0003" - ], - "output_clusters": [ - "0x0003", - "0x0004", - "0x0005", - "0x0012" - ] - } - }, - "manufacturer": "LUMI", - "model": "lumi.vibration.aq1" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "binary_sensor.lumi_lumi_vibration_aq1_vibration", - "name": "LUMI lumi.vibration.aq1" - }, - { - "entity_id": "button.lumi_lumi_vibration_aq1_identify", - "name": "LUMI lumi.vibration.aq1" - }, - { - "entity_id": "sensor.lumi_lumi_vibration_aq1_battery", - "name": "LUMI lumi.vibration.aq1" - }, - { - "entity_id": "sensor.lumi_lumi_vibration_aq1_device_temperature", - "name": "LUMI lumi.vibration.aq1" - }, - { - "entity_id": "update.lumi_lumi_vibration_aq1_firmware", - "name": "LUMI lumi.vibration.aq1" - } - ], - "neighbors": [], - "routes": [], - "endpoint_names": [ - { - "name": "DOOR_LOCK" - }, - { - "name": "undefined_0x5f02" - } - ], - "user_given_name": null, - "device_reg_id": "7793651a729801593a654811d000d414", - "area_id": null, - "cluster_details": { - "1": { - "device_type": { - "name": "DOOR_LOCK", - "id": 10 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='app_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 8 - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='date_code', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='device_enabled', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='disable_local_config', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='generic_device_class', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='generic_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='hw_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='location_desc', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "LUMI" - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='manufacturer_version_details', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='model', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "lumi.vibration.aq1" - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='physical_env', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='power_source', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='product_code', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='product_label', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='product_url', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xff0d": { - "attribute": "ZCLAttributeDef(id=0xFF0D, name='sensitivity', type=, access=, mandatory=False, is_manufacturer_specific=True)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='serial_number', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='sw_build_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zcl_version', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0001": { - "endpoint_attribute": "power", - "attributes": { - "0x0052": { - "attribute": "ZCLAttributeDef(id=0x0052, name='battery_2_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='battery_2_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005e": { - "attribute": "ZCLAttributeDef(id=0x005E, name='battery_2_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0050": { - "attribute": "ZCLAttributeDef(id=0x0050, name='battery_2_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005a": { - "attribute": "ZCLAttributeDef(id=0x005A, name='battery_2_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005b": { - "attribute": "ZCLAttributeDef(id=0x005B, name='battery_2_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005c": { - "attribute": "ZCLAttributeDef(id=0x005C, name='battery_2_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005d": { - "attribute": "ZCLAttributeDef(id=0x005D, name='battery_2_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='battery_2_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0053": { - "attribute": "ZCLAttributeDef(id=0x0053, name='battery_2_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0054": { - "attribute": "ZCLAttributeDef(id=0x0054, name='battery_2_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='battery_2_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0056": { - "attribute": "ZCLAttributeDef(id=0x0056, name='battery_2_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0057": { - "attribute": "ZCLAttributeDef(id=0x0057, name='battery_2_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0058": { - "attribute": "ZCLAttributeDef(id=0x0058, name='battery_2_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0059": { - "attribute": "ZCLAttributeDef(id=0x0059, name='battery_2_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0040": { - "attribute": "ZCLAttributeDef(id=0x0040, name='battery_2_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0072": { - "attribute": "ZCLAttributeDef(id=0x0072, name='battery_3_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='battery_3_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007e": { - "attribute": "ZCLAttributeDef(id=0x007E, name='battery_3_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0070": { - "attribute": "ZCLAttributeDef(id=0x0070, name='battery_3_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007a": { - "attribute": "ZCLAttributeDef(id=0x007A, name='battery_3_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007b": { - "attribute": "ZCLAttributeDef(id=0x007B, name='battery_3_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007c": { - "attribute": "ZCLAttributeDef(id=0x007C, name='battery_3_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007d": { - "attribute": "ZCLAttributeDef(id=0x007D, name='battery_3_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0061": { - "attribute": "ZCLAttributeDef(id=0x0061, name='battery_3_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0073": { - "attribute": "ZCLAttributeDef(id=0x0073, name='battery_3_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0074": { - "attribute": "ZCLAttributeDef(id=0x0074, name='battery_3_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0071": { - "attribute": "ZCLAttributeDef(id=0x0071, name='battery_3_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0076": { - "attribute": "ZCLAttributeDef(id=0x0076, name='battery_3_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0077": { - "attribute": "ZCLAttributeDef(id=0x0077, name='battery_3_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0078": { - "attribute": "ZCLAttributeDef(id=0x0078, name='battery_3_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0079": { - "attribute": "ZCLAttributeDef(id=0x0079, name='battery_3_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0060": { - "attribute": "ZCLAttributeDef(id=0x0060, name='battery_3_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0032": { - "attribute": "ZCLAttributeDef(id=0x0032, name='battery_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0035": { - "attribute": "ZCLAttributeDef(id=0x0035, name='battery_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003e": { - "attribute": "ZCLAttributeDef(id=0x003E, name='battery_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0030": { - "attribute": "ZCLAttributeDef(id=0x0030, name='battery_manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003a": { - "attribute": "ZCLAttributeDef(id=0x003A, name='battery_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003b": { - "attribute": "ZCLAttributeDef(id=0x003B, name='battery_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003c": { - "attribute": "ZCLAttributeDef(id=0x003C, name='battery_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003d": { - "attribute": "ZCLAttributeDef(id=0x003D, name='battery_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0021": { - "attribute": "ZCLAttributeDef(id=0x0021, name='battery_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 96 - }, - "0x0033": { - "attribute": "ZCLAttributeDef(id=0x0033, name='battery_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 1 - }, - "0x0034": { - "attribute": "ZCLAttributeDef(id=0x0034, name='battery_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0031": { - "attribute": "ZCLAttributeDef(id=0x0031, name='battery_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 10 - }, - "0x0036": { - "attribute": "ZCLAttributeDef(id=0x0036, name='battery_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0037": { - "attribute": "ZCLAttributeDef(id=0x0037, name='battery_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0038": { - "attribute": "ZCLAttributeDef(id=0x0038, name='battery_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0039": { - "attribute": "ZCLAttributeDef(id=0x0039, name='battery_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0020": { - "attribute": "ZCLAttributeDef(id=0x0020, name='battery_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 29.6 - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='mains_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='mains_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='mains_volt_max_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='mains_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='mains_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='mains_voltage_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0002": { - "endpoint_attribute": "device_temperature", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='current_temperature', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 2600 - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='dev_temp_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='high_temp_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='high_temp_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='low_temp_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='low_temp_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='max_temp_experienced', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='min_temp_experienced', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='over_temp_total_dwell', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0500": { - "endpoint_attribute": "ias_zone", - "attributes": { - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='cie_addr', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='current_zone_sensitivity_level', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='num_zone_sensitivity_levels_supported', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='zone_id', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zone_state', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 0 - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='zone_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 0 - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='zone_type', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 45 - } - }, - "unsupported_attributes": [] - }, - "0x0019": { - "endpoint_attribute": "ota", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='current_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='downloaded_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='downloaded_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='file_offset', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='image_stamp', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='image_type_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='image_upgrade_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='manufacturer_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='minimum_block_req_delay', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='upgrade_activation_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='upgrade_server_id', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='upgrade_timeout_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0101": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 1.0 - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='app_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='date_code', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='device_enabled', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='disable_local_config', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='generic_device_class', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='generic_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='hw_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='location_desc', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='manufacturer_version_details', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='model', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='physical_env', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='power_source', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='product_code', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='product_label', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='product_url', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xff0d": { - "attribute": "ZCLAttributeDef(id=0xFF0D, name='sensitivity', type=, access=, mandatory=False, is_manufacturer_specific=True)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='serial_number', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='sw_build_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zcl_version', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0004": { - "endpoint_attribute": "groups", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0005": { - "endpoint_attribute": "scenes", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='count', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_group', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='current_scene', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='last_configured_by', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='scene_valid', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0019": { - "endpoint_attribute": "ota", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='current_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='downloaded_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='downloaded_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='file_offset', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='image_stamp', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='image_type_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='image_upgrade_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='manufacturer_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='minimum_block_req_delay', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='upgrade_activation_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='upgrade_server_id', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='upgrade_timeout_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - }, - "2": { - "device_type": { - "name": "undefined_0x5f02", - "id": 24322 - }, - "profile_id": 260, - "in_clusters": { - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0004": { - "endpoint_attribute": "groups", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0005": { - "endpoint_attribute": "scenes", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='count', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_group', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='current_scene', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='last_configured_by', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='scene_valid', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - } - }, - "original_signature": { - "models_info": [ - [ - "LUMI", - "lumi.vibration.aq1" - ] - ], - "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": 4151, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 100, - "server_mask": 0, - "maximum_outgoing_transfer_size": 100, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x000a", - "input_clusters": [ - "0x0000", - "0x0003", - "0x0019", - "0x0101" - ], - "output_clusters": [ - "0x0000", - "0x0003", - "0x0004", - "0x0005", - "0x0019", - "0x0101" - ] - }, - "2": { - "profile_id": "0x0104", - "device_type": "0x5f02", - "input_clusters": [ - "0x0003", - "0x0012" - ], - "output_clusters": [ - "0x0003", - "0x0004", - "0x0005", - "0x0012" - ] - } - } - }, - "zha_lib_entities": { - "binary_sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:af:97:27-1-1280", - "platform": "binary_sensor", - "class_name": "IASZone", - "translation_key": null, - "device_class": "vibration", - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IASZoneClusterHandler", - "generic_id": "cluster_handler_0x0500", - "endpoint_id": 1, - "cluster": { - "id": 1280, - "name": "IAS Zone", - "type": "server" - }, - "id": "1:0x0500", - "unique_id": "00:15:8d:00:02:af:97:27:1:0x0500", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 39, - 151, - 175, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute_name": "zone_status" - }, - "state": { - "class_name": "IASZone", - "available": false, - "state": false - } - } - ], - "button": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:af:97:27-1-3", - "platform": "button", - "class_name": "IdentifyButton", - "translation_key": null, - "device_class": "identify", - "state_class": null, - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IdentifyClusterHandler", - "generic_id": "cluster_handler_0x0003", - "endpoint_id": 1, - "cluster": { - "id": 3, - "name": "Identify", - "type": "server" - }, - "id": "1:0x0003", - "unique_id": "00:15:8d:00:02:af:97:27:1:0x0003", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 39, - 151, - 175, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "command": "identify", - "args": [ - 5 - ], - "kwargs": {} - }, - "state": { - "class_name": "IdentifyButton", - "available": false - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:af:97:27-1-1", - "platform": "sensor", - "class_name": "Battery", - "translation_key": null, - "device_class": "battery", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "PowerConfigurationClusterHandler", - "generic_id": "cluster_handler_0x0001", - "endpoint_id": 1, - "cluster": { - "id": 1, - "name": "Power Configuration", - "type": "server" - }, - "id": "1:0x0001", - "unique_id": "00:15:8d:00:02:af:97:27:1:0x0001", - "status": "CREATED", - "value_attribute": "battery_voltage" - } - ], - "device_ieee": [ - 39, - 151, - 175, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "battery_percentage_remaining", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "Battery", - "available": false, - "state": 48, - "battery_size": "CR2032", - "battery_quantity": 1, - "battery_voltage": 2.96 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:af:97:27-1-2", - "platform": "sensor", - "class_name": "DeviceTemperature", - "translation_key": "device_temperature", - "device_class": "temperature", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "DeviceTemperatureClusterHandler", - "generic_id": "cluster_handler_0x0002", - "endpoint_id": 1, - "cluster": { - "id": 2, - "name": "Device Temperature", - "type": "server" - }, - "id": "1:0x0002", - "unique_id": "00:15:8d:00:02:af:97:27:1:0x0002", - "status": "CREATED", - "value_attribute": "current_temperature" - } - ], - "device_ieee": [ - 39, - 151, - 175, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "current_temperature", - "decimals": 1, - "divisor": 100, - "multiplier": 1, - "unit": "°C" - }, - "state": { - "class_name": "DeviceTemperature", - "available": false, - "state": 26.0 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:af:97:27-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "VibrationBasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:15:8d:00:02:af:97:27:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 39, - 151, - 175, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": false, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:af:97:27-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "VibrationBasicCluster", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "00:15:8d:00:02:af:97:27:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 39, - 151, - 175, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": false, - "state": null - } - } - ], - "update": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "00:15:8d:00:02:af:97:27-1-25-firmware_update", - "platform": "update", - "class_name": "FirmwareUpdateEntity", - "translation_key": null, - "device_class": "firmware", - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OtaClusterHandler", - "generic_id": "cluster_handler_0x0019", - "endpoint_id": 1, - "cluster": { - "id": 25, - "name": "Ota", - "type": "server" - }, - "id": "1:0x0019", - "unique_id": "00:15:8d:00:02:af:97:27:1:0x0019", - "status": "CREATED", - "value_attribute": null - }, - { - "class_name": "OtaClientClusterHandler", - "generic_id": "cluster_handler_0x0019", - "endpoint_id": 1, - "cluster": { - "id": 25, - "name": "Ota", - "type": "client" - }, - "id": "1:0x0019", - "unique_id": "00:15:8d:00:02:af:97:27:1:0x0019", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 39, - 151, - 175, - 2, - 0, - 141, - 21, - 0 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "supported_features": 7 - }, - "state": { - "class_name": "FirmwareUpdateEntity", - "available": false, - "installed_version": null, - "in_progress": false, - "progress": 0, - "latest_version": null, - "release_summary": null, - "release_url": null - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/third-reality-inc-3rsb22bz.json b/tests/data/devices/third-reality-inc-3rsb22bz.json deleted file mode 100644 index ac4fb4d9..00000000 --- a/tests/data/devices/third-reality-inc-3rsb22bz.json +++ /dev/null @@ -1,882 +0,0 @@ -{ - "ieee": "28:2c:02:bf:ff:e3:74:f8", - "nwk": 10001, - "manufacturer": "Third Reality, Inc", - "model": "3RSB22BZ", - "name": "Third Reality, Inc 3RSB22BZ", - "quirk_applied": true, - "quirk_class": "zhaquirks.thirdreality.button.Button", - "quirk_id": null, - "manufacturer_code": 4659, - "power_source": "Battery or Unknown", - "lqi": null, - "rssi": null, - "last_seen": "2023-01-23T12:31:38", - "available": false, - "device_type": "EndDevice", - "signature": { - "node_descriptor": { - "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": 4659, - "maximum_buffer_size": 66, - "maximum_incoming_transfer_size": 66, - "server_mask": 10752, - "maximum_outgoing_transfer_size": 66, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0006", - "input_clusters": [ - "0x0000", - "0x0001", - "0x0012" - ], - "output_clusters": [ - "0x0006", - "0x0008", - "0x0019" - ] - } - }, - "manufacturer": "Third Reality, Inc", - "model": "3RSB22BZ" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "sensor.third_reality_button_battery", - "name": "Third Reality, Inc 3RSB22BZ" - }, - { - "entity_id": "update.third_reality_button_firmware", - "name": "Third Reality, Inc 3RSB22BZ" - } - ], - "neighbors": [], - "routes": [], - "endpoint_names": [ - { - "name": "REMOTE_CONTROL" - } - ], - "user_given_name": "Third Reality Button", - "device_reg_id": "3df10c972ee4d908015f74cbac4da77d", - "area_id": "living_room", - "cluster_details": { - "1": { - "device_type": { - "name": "REMOTE_CONTROL", - "id": 6 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='app_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='date_code', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='device_enabled', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='disable_local_config', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='generic_device_class', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='generic_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='hw_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='location_desc', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "Third Reality, Inc" - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='manufacturer_version_details', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='model', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "3RSB22BZ" - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='physical_env', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='power_source', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='product_code', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='product_label', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='product_url', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='serial_number', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='sw_build_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "1.00.21" - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zcl_version', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0001": { - "endpoint_attribute": "power", - "attributes": { - "0x0052": { - "attribute": "ZCLAttributeDef(id=0x0052, name='battery_2_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='battery_2_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005e": { - "attribute": "ZCLAttributeDef(id=0x005E, name='battery_2_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0050": { - "attribute": "ZCLAttributeDef(id=0x0050, name='battery_2_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005a": { - "attribute": "ZCLAttributeDef(id=0x005A, name='battery_2_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005b": { - "attribute": "ZCLAttributeDef(id=0x005B, name='battery_2_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005c": { - "attribute": "ZCLAttributeDef(id=0x005C, name='battery_2_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x005d": { - "attribute": "ZCLAttributeDef(id=0x005D, name='battery_2_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0041": { - "attribute": "ZCLAttributeDef(id=0x0041, name='battery_2_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0053": { - "attribute": "ZCLAttributeDef(id=0x0053, name='battery_2_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0054": { - "attribute": "ZCLAttributeDef(id=0x0054, name='battery_2_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='battery_2_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0056": { - "attribute": "ZCLAttributeDef(id=0x0056, name='battery_2_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0057": { - "attribute": "ZCLAttributeDef(id=0x0057, name='battery_2_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0058": { - "attribute": "ZCLAttributeDef(id=0x0058, name='battery_2_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0059": { - "attribute": "ZCLAttributeDef(id=0x0059, name='battery_2_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0040": { - "attribute": "ZCLAttributeDef(id=0x0040, name='battery_2_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0072": { - "attribute": "ZCLAttributeDef(id=0x0072, name='battery_3_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0075": { - "attribute": "ZCLAttributeDef(id=0x0075, name='battery_3_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007e": { - "attribute": "ZCLAttributeDef(id=0x007E, name='battery_3_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0070": { - "attribute": "ZCLAttributeDef(id=0x0070, name='battery_3_manufacturer', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007a": { - "attribute": "ZCLAttributeDef(id=0x007A, name='battery_3_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007b": { - "attribute": "ZCLAttributeDef(id=0x007B, name='battery_3_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007c": { - "attribute": "ZCLAttributeDef(id=0x007C, name='battery_3_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x007d": { - "attribute": "ZCLAttributeDef(id=0x007D, name='battery_3_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0061": { - "attribute": "ZCLAttributeDef(id=0x0061, name='battery_3_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0073": { - "attribute": "ZCLAttributeDef(id=0x0073, name='battery_3_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0074": { - "attribute": "ZCLAttributeDef(id=0x0074, name='battery_3_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0071": { - "attribute": "ZCLAttributeDef(id=0x0071, name='battery_3_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0076": { - "attribute": "ZCLAttributeDef(id=0x0076, name='battery_3_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0077": { - "attribute": "ZCLAttributeDef(id=0x0077, name='battery_3_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0078": { - "attribute": "ZCLAttributeDef(id=0x0078, name='battery_3_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0079": { - "attribute": "ZCLAttributeDef(id=0x0079, name='battery_3_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0060": { - "attribute": "ZCLAttributeDef(id=0x0060, name='battery_3_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0032": { - "attribute": "ZCLAttributeDef(id=0x0032, name='battery_a_hr_rating', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0035": { - "attribute": "ZCLAttributeDef(id=0x0035, name='battery_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003e": { - "attribute": "ZCLAttributeDef(id=0x003E, name='battery_alarm_state', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0030": { - "attribute": "ZCLAttributeDef(id=0x0030, name='battery_manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003a": { - "attribute": "ZCLAttributeDef(id=0x003A, name='battery_percent_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003b": { - "attribute": "ZCLAttributeDef(id=0x003B, name='battery_percent_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003c": { - "attribute": "ZCLAttributeDef(id=0x003C, name='battery_percent_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003d": { - "attribute": "ZCLAttributeDef(id=0x003D, name='battery_percent_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0021": { - "attribute": "ZCLAttributeDef(id=0x0021, name='battery_percentage_remaining', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 135 - }, - "0x0033": { - "attribute": "ZCLAttributeDef(id=0x0033, name='battery_quantity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0034": { - "attribute": "ZCLAttributeDef(id=0x0034, name='battery_rated_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0031": { - "attribute": "ZCLAttributeDef(id=0x0031, name='battery_size', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0036": { - "attribute": "ZCLAttributeDef(id=0x0036, name='battery_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0037": { - "attribute": "ZCLAttributeDef(id=0x0037, name='battery_volt_thres1', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0038": { - "attribute": "ZCLAttributeDef(id=0x0038, name='battery_volt_thres2', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0039": { - "attribute": "ZCLAttributeDef(id=0x0039, name='battery_volt_thres3', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0020": { - "attribute": "ZCLAttributeDef(id=0x0020, name='battery_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 29 - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='mains_alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='mains_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='mains_volt_max_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='mains_volt_min_thres', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='mains_voltage', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='mains_voltage_dwell_trip_point', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 1.0 - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='global_scene_control', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4002": { - "attribute": "ZCLAttributeDef(id=0x4002, name='off_wait_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='on_off', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4001": { - "attribute": "ZCLAttributeDef(id=0x4001, name='on_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4003": { - "attribute": "ZCLAttributeDef(id=0x4003, name='start_up_on_off', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0008": { - "endpoint_attribute": "level", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='current_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='current_level', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='default_move_rate', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='max_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='max_level', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='min_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='min_level', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='off_transition_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='on_level', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='on_off_transition_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='on_transition_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000f": { - "attribute": "ZCLAttributeDef(id=0x000F, name='options', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='remaining_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='start_up_current_level', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0019": { - "endpoint_attribute": "ota", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='current_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='downloaded_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='downloaded_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='file_offset', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='image_stamp', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='image_type_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='image_upgrade_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='manufacturer_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='minimum_block_req_delay', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='upgrade_activation_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='upgrade_server_id', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='upgrade_timeout_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - } - }, - "original_signature": { - "models_info": [ - [ - "Third Reality, Inc", - "3RSB22BZ" - ] - ], - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0006", - "input_clusters": [ - "0x0000", - "0x0012", - "0x0001" - ], - "output_clusters": [ - "0x0006", - "0x0008", - "0x0019" - ] - } - } - }, - "zha_lib_entities": { - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "28:2c:02:bf:ff:e3:74:f8-1-1", - "platform": "sensor", - "class_name": "Battery", - "translation_key": null, - "device_class": "battery", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "PowerConfigurationClusterHandler", - "generic_id": "cluster_handler_0x0001", - "endpoint_id": 1, - "cluster": { - "id": 1, - "name": "Power Configuration", - "type": "server" - }, - "id": "1:0x0001", - "unique_id": "28:2c:02:bf:ff:e3:74:f8:1:0x0001", - "status": "CREATED", - "value_attribute": "battery_voltage" - } - ], - "device_ieee": [ - 248, - 116, - 227, - 255, - 191, - 2, - 44, - 40 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": "battery_percentage_remaining", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "%" - }, - "state": { - "class_name": "Battery", - "available": false, - "state": 68, - "battery_voltage": 2.9 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "28:2c:02:bf:ff:e3:74:f8-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "Basic", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "28:2c:02:bf:ff:e3:74:f8:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 248, - 116, - 227, - 255, - 191, - 2, - 44, - 40 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": false, - "state": null - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "28:2c:02:bf:ff:e3:74:f8-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "Basic", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "28:2c:02:bf:ff:e3:74:f8:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 248, - 116, - 227, - 255, - 191, - 2, - 44, - 40 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": false, - "state": null - } - } - ], - "update": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "28:2c:02:bf:ff:e3:74:f8-1-25-firmware_update", - "platform": "update", - "class_name": "FirmwareUpdateEntity", - "translation_key": null, - "device_class": "firmware", - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OtaClientClusterHandler", - "generic_id": "cluster_handler_0x0019", - "endpoint_id": 1, - "cluster": { - "id": 25, - "name": "Ota", - "type": "client" - }, - "id": "1:0x0019", - "unique_id": "28:2c:02:bf:ff:e3:74:f8:1:0x0019", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 248, - 116, - 227, - 255, - 191, - 2, - 44, - 40 - ], - "endpoint_id": 1, - "available": false, - "group_id": null, - "supported_features": 7 - }, - "state": { - "class_name": "FirmwareUpdateEntity", - "available": false, - "installed_version": null, - "in_progress": false, - "progress": 0, - "latest_version": null, - "release_summary": null, - "release_url": null - } - } - ] - } -} \ No newline at end of file diff --git a/tests/data/devices/third-reality-inc-3rsnl02043z.json b/tests/data/devices/third-reality-inc-3rsnl02043z.json deleted file mode 100644 index a4ce9062..00000000 --- a/tests/data/devices/third-reality-inc-3rsnl02043z.json +++ /dev/null @@ -1,1988 +0,0 @@ -{ - "ieee": "b4:0e:cf:d3:a1:6b:00:00", - "nwk": 4468, - "manufacturer": "Third Reality, Inc", - "model": "3RSNL02043Z", - "name": "Third Reality, Inc 3RSNL02043Z", - "quirk_applied": true, - "quirk_class": "zhaquirks.thirdreality.night_light.Nightlight", - "quirk_id": null, - "manufacturer_code": 4877, - "power_source": "Mains", - "lqi": 172, - "rssi": -57, - "last_seen": "2024-08-26T13:36:27", - "available": true, - "device_type": "Router", - "signature": { - "node_descriptor": { - "logical_type": 1, - "complex_descriptor_available": 0, - "user_descriptor_available": 0, - "reserved": 0, - "aps_flags": 0, - "frequency_band": 8, - "mac_capability_flags": 142, - "manufacturer_code": 4877, - "maximum_buffer_size": 127, - "maximum_incoming_transfer_size": 242, - "server_mask": 11264, - "maximum_outgoing_transfer_size": 242, - "descriptor_capability_field": 0 - }, - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0102", - "input_clusters": [ - "0x0000", - "0x0003", - "0x0004", - "0x0005", - "0x0006", - "0x0008", - "0x0012", - "0x0300", - "0x0400", - "0x0500", - "0x1000", - "0xfc00" - ], - "output_clusters": [ - "0x0019" - ] - } - }, - "manufacturer": "Third Reality, Inc", - "model": "3RSNL02043Z" - }, - "active_coordinator": false, - "entities": [ - { - "entity_id": "binary_sensor.third_reality_inc_3rsnl02043z_motion", - "name": "Third Reality, Inc 3RSNL02043Z" - }, - { - "entity_id": "button.third_reality_inc_3rsnl02043z_identify", - "name": "Third Reality, Inc 3RSNL02043Z" - }, - { - "entity_id": "light.third_reality_inc_3rsnl02043z_light", - "name": "Third Reality, Inc 3RSNL02043Z" - }, - { - "entity_id": "number.third_reality_inc_3rsnl02043z_on_off_transition_time", - "name": "Third Reality, Inc 3RSNL02043Z" - }, - { - "entity_id": "number.third_reality_inc_3rsnl02043z_on_level", - "name": "Third Reality, Inc 3RSNL02043Z" - }, - { - "entity_id": "number.third_reality_inc_3rsnl02043z_start_up_current_level", - "name": "Third Reality, Inc 3RSNL02043Z" - }, - { - "entity_id": "number.third_reality_inc_3rsnl02043z_start_up_color_temperature", - "name": "Third Reality, Inc 3RSNL02043Z" - }, - { - "entity_id": "select.third_reality_inc_3rsnl02043z_start_up_behavior", - "name": "Third Reality, Inc 3RSNL02043Z" - }, - { - "entity_id": "sensor.third_reality_inc_3rsnl02043z_illuminance", - "name": "Third Reality, Inc 3RSNL02043Z" - }, - { - "entity_id": "update.third_reality_inc_3rsnl02043z_firmware", - "name": "Third Reality, Inc 3RSNL02043Z" - } - ], - "neighbors": [ - { - "device_type": "Coordinator", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:12:4b:00:1c:a1:b8:46", - "nwk": "0x0000", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "111" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:15:8d:00:03:42:9e:da", - "nwk": "0x0403", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "0" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "ec:1b:bd:ff:fe:32:46:39", - "nwk": "0x0A42", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:0b:57:ff:fe:39:3d:3c", - "nwk": "0x15B7", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "14:2d:41:ff:fe:58:aa:27", - "nwk": "0x20C0", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:0b:57:ff:fe:d5:37:65", - "nwk": "0x26E4", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "84" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:0b:57:ff:fe:36:b9:a0", - "nwk": "0x2BE0", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "210" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "90:fd:9f:ff:fe:32:9a:0b", - "nwk": "0x35E8", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "239" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:17:88:01:0c:dd:95:e0", - "nwk": "0x3E44", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:17:88:01:0c:76:26:ca", - "nwk": "0x5262", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:17:88:01:0c:70:de:86", - "nwk": "0x5385", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "a4:c1:38:44:c6:4d:75:c2", - "nwk": "0x6C17", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:17:88:01:09:cc:29:f2", - "nwk": "0x8B15", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "173" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:0d:6f:ff:fe:7a:84:a9", - "nwk": "0x9D90", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:0b:57:ff:fe:8e:8c:44", - "nwk": "0xA68D", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "154" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:0d:6f:ff:fe:a5:b7:93", - "nwk": "0xB55A", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "28:2c:02:bf:ff:eb:4f:2f", - "nwk": "0xB900", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "225" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:17:88:01:0c:e2:c6:d7", - "nwk": "0xCE06", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "80" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "00:0b:57:ff:fe:8e:93:5f", - "nwk": "0xDE37", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "255" - }, - { - "device_type": "Router", - "rx_on_when_idle": "On", - "relationship": "Sibling", - "extended_pan_id": "fe:ed:fa:ce:de:ad:be:ef", - "ieee": "28:2c:02:bf:ff:eb:09:0d", - "nwk": "0xF4E0", - "permit_joining": "Unknown", - "depth": "255", - "lqi": "196" - } - ], - "routes": [ - { - "dest_nwk": "0x0000", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x0000" - }, - { - "dest_nwk": "0x0403", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x0403" - }, - { - "dest_nwk": "0x12D8", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xF148" - }, - { - "dest_nwk": "0x20C0", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x347D" - }, - { - "dest_nwk": "0x347D", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x347D" - }, - { - "dest_nwk": "0x380A", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xF4E0" - }, - { - "dest_nwk": "0x3E44", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x3E44" - }, - { - "dest_nwk": "0x410C", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x3E44" - }, - { - "dest_nwk": "0x464E", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x4E9E" - }, - { - "dest_nwk": "0x46C0", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xB55A" - }, - { - "dest_nwk": "0x4E9E", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x4E9E" - }, - { - "dest_nwk": "0x5262", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x5262" - }, - { - "dest_nwk": "0x5385", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x5385" - }, - { - "dest_nwk": "0x6AD3", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x0403" - }, - { - "dest_nwk": "0x6C17", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x6C17" - }, - { - "dest_nwk": "0x7F9C", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x5385" - }, - { - "dest_nwk": "0x8B15", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x8B15" - }, - { - "dest_nwk": "0x9253", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x15B7" - }, - { - "dest_nwk": "0x9D90", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x9D90" - }, - { - "dest_nwk": "0xA520", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xA520" - }, - { - "dest_nwk": "0xA68D", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xA68D" - }, - { - "dest_nwk": "0xB900", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xB900" - }, - { - "dest_nwk": "0xCE06", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xCE06" - }, - { - "dest_nwk": "0xDE37", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xDE37" - }, - { - "dest_nwk": "0xE268", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xF148" - }, - { - "dest_nwk": "0xE3E7", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x5262" - }, - { - "dest_nwk": "0xF148", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xF148" - }, - { - "dest_nwk": "0xF4E0", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0xF4E0" - }, - { - "dest_nwk": "0xFD04", - "route_status": "Active", - "memory_constrained": false, - "many_to_one": false, - "route_record_required": false, - "next_hop": "0x20C0" - } - ], - "endpoint_names": [ - { - "name": "COLOR_DIMMABLE_LIGHT" - } - ], - "user_given_name": null, - "device_reg_id": "b434abc6511c9d7dd1849f2f267bef1f", - "area_id": null, - "cluster_details": { - "1": { - "device_type": { - "name": "COLOR_DIMMABLE_LIGHT", - "id": 258 - }, - "profile_id": 260, - "in_clusters": { - "0x0000": { - "endpoint_attribute": "basic", - "attributes": { - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='alarm_mask', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='app_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='date_code', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='device_enabled', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='disable_local_config', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='generic_device_class', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='generic_device_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='hw_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='location_desc', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='manufacturer', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "Third Reality, Inc" - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='manufacturer_version_details', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='model', type=.LimitedCharString'>, access=, mandatory=False, is_manufacturer_specific=False)", - "value": "3RSNL02043Z" - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='physical_env', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='power_source', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='product_code', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='product_label', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='product_url', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000d": { - "attribute": "ZCLAttributeDef(id=0x000D, name='serial_number', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='sw_build_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zcl_version', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0003": { - "endpoint_attribute": "identify", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='identify_time', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0004": { - "endpoint_attribute": "groups", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0005": { - "endpoint_attribute": "scenes", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='count', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_group', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='current_scene', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='last_configured_by', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='name_support', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='scene_valid', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0006": { - "endpoint_attribute": "on_off", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='global_scene_control', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4002": { - "attribute": "ZCLAttributeDef(id=0x4002, name='off_wait_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='on_off', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 0 - }, - "0x4001": { - "attribute": "ZCLAttributeDef(id=0x4001, name='on_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4003": { - "attribute": "ZCLAttributeDef(id=0x4003, name='start_up_on_off', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 255 - } - }, - "unsupported_attributes": [] - }, - "0x0008": { - "endpoint_attribute": "level", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='current_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='current_level', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 254 - }, - "0x0014": { - "attribute": "ZCLAttributeDef(id=0x0014, name='default_move_rate', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='max_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='max_level', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='min_frequency', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='min_level', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='off_transition_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='on_level', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 255 - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='on_off_transition_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 10 - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='on_transition_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000f": { - "attribute": "ZCLAttributeDef(id=0x000F, name='options', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='remaining_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='start_up_current_level', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 255 - } - }, - "unsupported_attributes": [ - 18, - 19, - 20, - "default_move_rate", - "off_transition_time", - "on_transition_time" - ] - }, - "0x0012": { - "endpoint_attribute": "multistate_input", - "attributes": { - "0x0100": { - "attribute": "ZCLAttributeDef(id=0x0100, name='application_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x001c": { - "attribute": "ZCLAttributeDef(id=0x001C, name='description', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x004a": { - "attribute": "ZCLAttributeDef(id=0x004A, name='number_of_states', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0051": { - "attribute": "ZCLAttributeDef(id=0x0051, name='out_of_service', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0055": { - "attribute": "ZCLAttributeDef(id=0x0055, name='present_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0067": { - "attribute": "ZCLAttributeDef(id=0x0067, name='reliability', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000e": { - "attribute": "ZCLAttributeDef(id=0x000E, name='state_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x006f": { - "attribute": "ZCLAttributeDef(id=0x006F, name='status_flags', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0300": { - "endpoint_attribute": "light_color", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x400a": { - "attribute": "ZCLAttributeDef(id=0x400A, name='color_capabilities', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 31 - }, - "0x4002": { - "attribute": "ZCLAttributeDef(id=0x4002, name='color_loop_active', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 0 - }, - "0x4003": { - "attribute": "ZCLAttributeDef(id=0x4003, name='color_loop_direction', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4005": { - "attribute": "ZCLAttributeDef(id=0x4005, name='color_loop_start_enhanced_hue', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4006": { - "attribute": "ZCLAttributeDef(id=0x4006, name='color_loop_stored_enhanced_hue', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4004": { - "attribute": "ZCLAttributeDef(id=0x4004, name='color_loop_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='color_mode', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 1 - }, - "0x003c": { - "attribute": "ZCLAttributeDef(id=0x003C, name='color_point_b_intensity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003a": { - "attribute": "ZCLAttributeDef(id=0x003A, name='color_point_b_x', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x003b": { - "attribute": "ZCLAttributeDef(id=0x003B, name='color_point_b_y', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0038": { - "attribute": "ZCLAttributeDef(id=0x0038, name='color_point_g_intensity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0036": { - "attribute": "ZCLAttributeDef(id=0x0036, name='color_point_g_x', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0037": { - "attribute": "ZCLAttributeDef(id=0x0037, name='color_point_g_y', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0034": { - "attribute": "ZCLAttributeDef(id=0x0034, name='color_point_r_intensity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0032": { - "attribute": "ZCLAttributeDef(id=0x0032, name='color_point_r_x', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0033": { - "attribute": "ZCLAttributeDef(id=0x0033, name='color_point_r_y', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x400c": { - "attribute": "ZCLAttributeDef(id=0x400C, name='color_temp_physical_max', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 65279 - }, - "0x400b": { - "attribute": "ZCLAttributeDef(id=0x400B, name='color_temp_physical_min', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 0 - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='color_temperature', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 65535 - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='compensation_text', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x400d": { - "attribute": "ZCLAttributeDef(id=0x400D, name='couple_color_temp_to_level_min', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='current_hue', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 79 - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='current_saturation', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 254 - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='current_x', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 20119 - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='current_y', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 40238 - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='drift_compensation', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4001": { - "attribute": "ZCLAttributeDef(id=0x4001, name='enhanced_color_mode', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x4000": { - "attribute": "ZCLAttributeDef(id=0x4000, name='enhanced_current_hue', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 20449 - }, - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='num_primaries', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000f": { - "attribute": "ZCLAttributeDef(id=0x000F, name='options', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 1 - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='primary1_intensity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='primary1_x', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='primary1_y', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0017": { - "attribute": "ZCLAttributeDef(id=0x0017, name='primary2_intensity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0015": { - "attribute": "ZCLAttributeDef(id=0x0015, name='primary2_x', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0016": { - "attribute": "ZCLAttributeDef(id=0x0016, name='primary2_y', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x001b": { - "attribute": "ZCLAttributeDef(id=0x001B, name='primary3_intensity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0019": { - "attribute": "ZCLAttributeDef(id=0x0019, name='primary3_x', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x001a": { - "attribute": "ZCLAttributeDef(id=0x001A, name='primary3_y', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0022": { - "attribute": "ZCLAttributeDef(id=0x0022, name='primary4_intensity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0020": { - "attribute": "ZCLAttributeDef(id=0x0020, name='primary4_x', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0021": { - "attribute": "ZCLAttributeDef(id=0x0021, name='primary4_y', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0026": { - "attribute": "ZCLAttributeDef(id=0x0026, name='primary5_intensity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0024": { - "attribute": "ZCLAttributeDef(id=0x0024, name='primary5_x', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0025": { - "attribute": "ZCLAttributeDef(id=0x0025, name='primary5_y', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x002a": { - "attribute": "ZCLAttributeDef(id=0x002A, name='primary6_intensity', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0028": { - "attribute": "ZCLAttributeDef(id=0x0028, name='primary6_x', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0029": { - "attribute": "ZCLAttributeDef(id=0x0029, name='primary6_y', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='remaining_time', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x4010": { - "attribute": "ZCLAttributeDef(id=0x4010, name='start_up_color_temperature', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 65535 - }, - "0x0030": { - "attribute": "ZCLAttributeDef(id=0x0030, name='white_point_x', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0031": { - "attribute": "ZCLAttributeDef(id=0x0031, name='white_point_y', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x0400": { - "endpoint_attribute": "illuminance", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='light_sensor_type', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='max_measured_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='measured_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 26740 - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='min_measured_value', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='tolerance', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - }, - "0x1000": { - "endpoint_attribute": "lightlink", - "attributes": {}, - "unsupported_attributes": [] - }, - "0x0500": { - "endpoint_attribute": "ias_zone", - "attributes": { - "0x0010": { - "attribute": "ZCLAttributeDef(id=0x0010, name='cie_addr', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": "00:12:4b:00:1c:a1:b8:46" - }, - "0x0013": { - "attribute": "ZCLAttributeDef(id=0x0013, name='current_zone_sensitivity_level', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0012": { - "attribute": "ZCLAttributeDef(id=0x0012, name='num_zone_sensitivity_levels_supported', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0011": { - "attribute": "ZCLAttributeDef(id=0x0011, name='zone_id', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='zone_state', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='zone_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 1 - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='zone_type', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": 13 - } - }, - "unsupported_attributes": [ - 0, - "zone_state" - ] - }, - "0xfc00": { - "endpoint_attribute": null, - "attributes": {}, - "unsupported_attributes": [] - } - }, - "out_clusters": { - "0x0019": { - "endpoint_attribute": "ota", - "attributes": { - "0xfffd": { - "attribute": "ZCLAttributeDef(id=0xFFFD, name='cluster_revision', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0002": { - "attribute": "ZCLAttributeDef(id=0x0002, name='current_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": 60 - }, - "0x0003": { - "attribute": "ZCLAttributeDef(id=0x0003, name='current_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0004": { - "attribute": "ZCLAttributeDef(id=0x0004, name='downloaded_file_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0005": { - "attribute": "ZCLAttributeDef(id=0x0005, name='downloaded_zigbee_stack_version', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0001": { - "attribute": "ZCLAttributeDef(id=0x0001, name='file_offset', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000a": { - "attribute": "ZCLAttributeDef(id=0x000A, name='image_stamp', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0008": { - "attribute": "ZCLAttributeDef(id=0x0008, name='image_type_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0006": { - "attribute": "ZCLAttributeDef(id=0x0006, name='image_upgrade_status', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x0007": { - "attribute": "ZCLAttributeDef(id=0x0007, name='manufacturer_id', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0009": { - "attribute": "ZCLAttributeDef(id=0x0009, name='minimum_block_req_delay', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0xfffe": { - "attribute": "ZCLAttributeDef(id=0xFFFE, name='reporting_status', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x000b": { - "attribute": "ZCLAttributeDef(id=0x000B, name='upgrade_activation_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - }, - "0x0000": { - "attribute": "ZCLAttributeDef(id=0x0000, name='upgrade_server_id', type=, access=, mandatory=True, is_manufacturer_specific=False)", - "value": null - }, - "0x000c": { - "attribute": "ZCLAttributeDef(id=0x000C, name='upgrade_timeout_policy', type=, access=, mandatory=False, is_manufacturer_specific=False)", - "value": null - } - }, - "unsupported_attributes": [] - } - } - } - }, - "original_signature": { - "models_info": [ - [ - "Third Reality, Inc", - "3RSNL02043Z" - ] - ], - "endpoints": { - "1": { - "profile_id": "0x0104", - "device_type": "0x0102", - "input_clusters": [ - "0x0000", - "0x0003", - "0x0004", - "0x0005", - "0x0006", - "0x0008", - "0x0012", - "0x0300", - "0x0400", - "0x1000", - "0xfc00" - ], - "output_clusters": [ - "0x0019" - ] - } - } - }, - "zha_lib_entities": { - "binary_sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "b4:0e:cf:d3:a1:6b:00:00-1-1280", - "platform": "binary_sensor", - "class_name": "IASZone", - "translation_key": null, - "device_class": "motion", - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IASZoneClusterHandler", - "generic_id": "cluster_handler_0x0500", - "endpoint_id": 1, - "cluster": { - "id": 1280, - "name": "IAS Zone", - "type": "server" - }, - "id": "1:0x0500", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0500", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 0, - 0, - 107, - 161, - 211, - 207, - 14, - 180 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute_name": "zone_status" - }, - "state": { - "class_name": "IASZone", - "available": true, - "state": true - } - } - ], - "button": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "b4:0e:cf:d3:a1:6b:00:00-1-3", - "platform": "button", - "class_name": "IdentifyButton", - "translation_key": null, - "device_class": "identify", - "state_class": null, - "entity_category": "diagnostic", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IdentifyClusterHandler", - "generic_id": "cluster_handler_0x0003", - "endpoint_id": 1, - "cluster": { - "id": 3, - "name": "Identify", - "type": "server" - }, - "id": "1:0x0003", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0003", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 0, - 0, - 107, - 161, - 211, - 207, - 14, - 180 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "command": "identify", - "args": [ - 5 - ], - "kwargs": {} - }, - "state": { - "class_name": "IdentifyButton", - "available": true - } - } - ], - "light": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "b4:0e:cf:d3:a1:6b:00:00-1", - "platform": "light", - "class_name": "Light", - "translation_key": "light", - "device_class": null, - "state_class": null, - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OnOffClusterHandler", - "generic_id": "cluster_handler_0x0006", - "endpoint_id": 1, - "cluster": { - "id": 6, - "name": "On/Off", - "type": "server" - }, - "id": "1:0x0006", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0006", - "status": "CREATED", - "value_attribute": "on_off" - }, - { - "class_name": "ColorClusterHandler", - "generic_id": "cluster_handler_0x0300", - "endpoint_id": 1, - "cluster": { - "id": 768, - "name": "Color Control", - "type": "server" - }, - "id": "1:0x0300", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0300", - "status": "CREATED", - "value_attribute": "current_x" - }, - { - "class_name": "LevelControlClusterHandler", - "generic_id": "cluster_handler_0x0008", - "endpoint_id": 1, - "cluster": { - "id": 8, - "name": "Level control", - "type": "server" - }, - "id": "1:0x0008", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0008", - "status": "CREATED", - "value_attribute": "current_level" - } - ], - "device_ieee": [ - 0, - 0, - 107, - 161, - 211, - 207, - 14, - 180 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "effect_list": [ - "colorloop" - ], - "supported_features": 44, - "min_mireds": 153, - "max_mireds": 65279 - }, - "state": { - "class_name": "Light", - "on": false, - "brightness": 254, - "hs_color": null, - "xy_color": [ - 0.30699626153963533, - 0.6139925230792707 - ], - "color_temp": 65535, - "effect": null, - "supported_features": 44, - "color_mode": "xy", - "supported_color_modes": [ - "brightness", - "onoff", - "xy", - "color_temp" - ], - "off_with_transition": false, - "off_brightness": 254, - "available": true - } - } - ], - "number": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "b4:0e:cf:d3:a1:6b:00:00-1-8-on_off_transition_time", - "platform": "number", - "class_name": "OnOffTransitionTimeConfigurationEntity", - "translation_key": "on_off_transition_time", - "device_class": null, - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "LevelControlClusterHandler", - "generic_id": "cluster_handler_0x0008", - "endpoint_id": 1, - "cluster": { - "id": 8, - "name": "Level control", - "type": "server" - }, - "id": "1:0x0008", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0008", - "status": "CREATED", - "value_attribute": "current_level" - } - ], - "device_ieee": [ - 0, - 0, - 107, - 161, - 211, - 207, - 14, - 180 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "min_value": 0, - "max_value": 65535, - "step": 1.0, - "multiplier": 1 - }, - "state": { - "class_name": "OnOffTransitionTimeConfigurationEntity", - "available": true, - "state": 10 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "b4:0e:cf:d3:a1:6b:00:00-1-8-on_level", - "platform": "number", - "class_name": "OnLevelConfigurationEntity", - "translation_key": "on_level", - "device_class": null, - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "LevelControlClusterHandler", - "generic_id": "cluster_handler_0x0008", - "endpoint_id": 1, - "cluster": { - "id": 8, - "name": "Level control", - "type": "server" - }, - "id": "1:0x0008", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0008", - "status": "CREATED", - "value_attribute": "current_level" - } - ], - "device_ieee": [ - 0, - 0, - 107, - 161, - 211, - 207, - 14, - 180 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "min_value": 0, - "max_value": 255, - "step": 1.0, - "multiplier": 1 - }, - "state": { - "class_name": "OnLevelConfigurationEntity", - "available": true, - "state": 255 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "b4:0e:cf:d3:a1:6b:00:00-1-8-start_up_current_level", - "platform": "number", - "class_name": "StartUpCurrentLevelConfigurationEntity", - "translation_key": "start_up_current_level", - "device_class": null, - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "LevelControlClusterHandler", - "generic_id": "cluster_handler_0x0008", - "endpoint_id": 1, - "cluster": { - "id": 8, - "name": "Level control", - "type": "server" - }, - "id": "1:0x0008", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0008", - "status": "CREATED", - "value_attribute": "current_level" - } - ], - "device_ieee": [ - 0, - 0, - 107, - 161, - 211, - 207, - 14, - 180 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "min_value": 0, - "max_value": 255, - "step": 1.0, - "multiplier": 1 - }, - "state": { - "class_name": "StartUpCurrentLevelConfigurationEntity", - "available": true, - "state": 255 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "b4:0e:cf:d3:a1:6b:00:00-1-768-start_up_color_temperature", - "platform": "number", - "class_name": "StartUpColorTemperatureConfigurationEntity", - "translation_key": "start_up_color_temperature", - "device_class": null, - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "ColorClusterHandler", - "generic_id": "cluster_handler_0x0300", - "endpoint_id": 1, - "cluster": { - "id": 768, - "name": "Color Control", - "type": "server" - }, - "id": "1:0x0300", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0300", - "status": "CREATED", - "value_attribute": "current_x" - } - ], - "device_ieee": [ - 0, - 0, - 107, - 161, - 211, - 207, - 14, - 180 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "min_value": 153, - "max_value": 65279, - "step": 1.0, - "multiplier": 1 - }, - "state": { - "class_name": "StartUpColorTemperatureConfigurationEntity", - "available": true, - "state": 65535 - } - } - ], - "select": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "b4:0e:cf:d3:a1:6b:00:00-1-6-StartUpOnOff", - "platform": "select", - "class_name": "StartupOnOffSelectEntity", - "translation_key": "start_up_on_off", - "device_class": null, - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OnOffClusterHandler", - "generic_id": "cluster_handler_0x0006", - "endpoint_id": 1, - "cluster": { - "id": 6, - "name": "On/Off", - "type": "server" - }, - "id": "1:0x0006", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0006", - "status": "CREATED", - "value_attribute": "on_off" - } - ], - "device_ieee": [ - 0, - 0, - 107, - 161, - 211, - 207, - 14, - 180 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "enum": "StartUpOnOff", - "options": [ - "Off", - "On", - "Toggle", - "PreviousValue" - ] - }, - "state": { - "class_name": "StartupOnOffSelectEntity", - "available": true, - "state": "PreviousValue" - } - } - ], - "sensor": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "b4:0e:cf:d3:a1:6b:00:00-1-1024", - "platform": "sensor", - "class_name": "Illuminance", - "translation_key": null, - "device_class": "illuminance", - "state_class": "measurement", - "entity_category": null, - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "IlluminanceMeasurementClusterHandler", - "generic_id": "cluster_handler_0x0400", - "endpoint_id": 1, - "cluster": { - "id": 1024, - "name": "Illuminance Measurement", - "type": "server" - }, - "id": "1:0x0400", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0400", - "status": "CREATED", - "value_attribute": "measured_value" - } - ], - "device_ieee": [ - 0, - 0, - 107, - 161, - 211, - 207, - 14, - 180 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": "measured_value", - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "lx" - }, - "state": { - "class_name": "Illuminance", - "available": true, - "state": 472 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "b4:0e:cf:d3:a1:6b:00:00-1-0-rssi", - "platform": "sensor", - "class_name": "RSSISensor", - "translation_key": "rssi", - "device_class": "signal_strength", - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "Basic", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 0, - 0, - 107, - 161, - 211, - 207, - 14, - 180 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": "dBm" - }, - "state": { - "class_name": "RSSISensor", - "available": true, - "state": -57 - } - }, - { - "info_object": { - "fallback_name": null, - "unique_id": "b4:0e:cf:d3:a1:6b:00:00-1-0-lqi", - "platform": "sensor", - "class_name": "LQISensor", - "translation_key": "lqi", - "device_class": null, - "state_class": "measurement", - "entity_category": "diagnostic", - "entity_registry_enabled_default": false, - "cluster_handlers": [ - { - "class_name": "BasicClusterHandler", - "generic_id": "cluster_handler_0x0000", - "endpoint_id": 1, - "cluster": { - "id": 0, - "name": "Basic", - "type": "server" - }, - "id": "1:0x0000", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0000", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 0, - 0, - 107, - 161, - 211, - 207, - 14, - 180 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "attribute": null, - "decimals": 1, - "divisor": 1, - "multiplier": 1, - "unit": null - }, - "state": { - "class_name": "LQISensor", - "available": true, - "state": 172 - } - } - ], - "update": [ - { - "info_object": { - "fallback_name": null, - "unique_id": "b4:0e:cf:d3:a1:6b:00:00-1-25-firmware_update", - "platform": "update", - "class_name": "FirmwareUpdateEntity", - "translation_key": null, - "device_class": "firmware", - "state_class": null, - "entity_category": "config", - "entity_registry_enabled_default": true, - "cluster_handlers": [ - { - "class_name": "OtaClientClusterHandler", - "generic_id": "cluster_handler_0x0019", - "endpoint_id": 1, - "cluster": { - "id": 25, - "name": "Ota", - "type": "client" - }, - "id": "1:0x0019", - "unique_id": "b4:0e:cf:d3:a1:6b:00:00:1:0x0019", - "status": "CREATED", - "value_attribute": null - } - ], - "device_ieee": [ - 0, - 0, - 107, - 161, - 211, - 207, - 14, - 180 - ], - "endpoint_id": 1, - "available": true, - "group_id": null, - "supported_features": 7 - }, - "state": { - "class_name": "FirmwareUpdateEntity", - "available": true, - "installed_version": "0x0000003c", - "in_progress": false, - "progress": 0, - "latest_version": "0x0000003c", - "release_summary": null, - "release_url": null - } - } - ] - } -} \ No newline at end of file