Add Aqara Shutter Switch H2 EU (lumi.switch.aeu003) v2 quirk#4769
Draft
Add Aqara Shutter Switch H2 EU (lumi.switch.aeu003) v2 quirk#4769
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #4769 +/- ##
==========================================
- Coverage 92.32% 92.28% -0.04%
==========================================
Files 371 372 +1
Lines 12190 12293 +103
==========================================
+ Hits 11254 11345 +91
- Misses 936 948 +12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
annotate movement state and task
Author
|
Nah, why the auto-fixes? 🙃 |
91c08fa to
51661c9
Compare
Author
|
There is still temporary debug logging in the quirk that will be removed before changing from draft to actual PR. |
…eu003) v2 quirk - test_position_percent_updates_cover: verifies 0x041F updates cover position (inverted). - test_position_stuck_after_stop_nudged: verifies stop+end value nudges position to 50.
Author
|
For anybody interested in this, the Home Assistant Blueprint I have put together with the entities from this quirk can be found in this repo or on Codeberg. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed change
Additional information
Keeping this as a draft until people in issue #4410 discussion have tested and verified.
Also still have to add tests and run pre-commit hooks.Device diagnostics
Click to expand device diagnostics
{ "home_assistant": { "installation_type": "Home Assistant Container", "version": "2026.1.3", "dev": false, "hassio": false, "virtualenv": false, "python_version": "3.13.11", "docker": true, "arch": "x86_64", "timezone": "Europe/Vienna", "os_name": "Linux", "os_version": "6.19.0", "container_arch": "amd64", "run_as_root": true }, "custom_components": { "ntfy": { "documentation": "https://github.com/hbrennhaeuser/homeassistant_integration_ntfy", "version": "0.2.3", "requirements": [ "requests" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "after_dependencies": [ "hassio", "onboarding", "usb" ], "codeowners": [ "dmulcahey", "adminiuga", "puddly", "TheJulianJES" ], "config_flow": true, "dependencies": [ "file_upload", "homeassistant_hardware" ], "documentation": "https://www.home-assistant.io/integrations/zha", "integration_type": "hub", "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp", "zha", "universal_silabs_flasher", "serialx" ], "requirements": [ "zha==0.0.84", "serialx==0.6.2" ], "usb": [ { "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ], "pid": "EA60", "vid": "10C4" }, { "description": "*slzb-07*", "known_devices": [ "smlight slzb-07" ], "pid": "EA60", "vid": "10C4" }, { "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ], "pid": "55D4", "vid": "1A86" }, { "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ], "pid": "EA60", "vid": "10C4" }, { "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ], "pid": "EA60", "vid": "10C4" }, { "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ], "pid": "7523", "vid": "1A86" }, { "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ], "pid": "7523", "vid": "1A86" }, { "description": "*conbee*", "known_devices": [ "Conbee II" ], "pid": "0030", "vid": "1CF1" }, { "description": "*conbee*", "known_devices": [ "Conbee III" ], "pid": "6015", "vid": "0403" }, { "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ], "pid": "8A2A", "vid": "10C4" }, { "description": "*zigate*", "known_devices": [ "ZiGate+" ], "pid": "6015", "vid": "0403" }, { "description": "*zigate*", "known_devices": [ "ZiGate" ], "pid": "EA60", "vid": "10C4" }, { "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ], "pid": "8B34", "vid": "10C4" }, { "description": "*sonoff*max*", "known_devices": [ "SONOFF Dongle Max MG24" ], "pid": "EA60", "vid": "10C4" }, { "description": "*sonoff*lite*mg21*", "known_devices": [ "sonoff zigbee dongle lite mg21" ], "pid": "EA60", "vid": "10C4" } ], "zeroconf": [ { "name": "tube*", "type": "_esphomelib._tcp.local." }, { "name": "*zigate*", "type": "_zigate-zigbee-gateway._tcp.local." }, { "name": "*zigstar*", "type": "_zigstar_gw._tcp.local." }, { "name": "uzg-01*", "type": "_uzg-01._tcp.local." }, { "name": "slzb-06*", "type": "_slzb-06._tcp.local." }, { "name": "xzg*", "type": "_xzg._tcp.local." }, { "name": "czc*", "type": "_czc._tcp.local." }, { "name": "*", "type": "_zigbee-coordinator._tcp.local." } ], "is_built_in": true, "overwrites_built_in": false }, "setup_times": { "null": { "setup": 4.3320003896951675e-05 }, "713ff878538b4f26f263bfeba21f4f46": { "wait_import_platforms": -0.011521754990098998, "wait_base_component": -0.000475510983960703, "config_entry_setup": 4.682808687008219 } }, "data": { "version": 1, "ieee": "**REDACTED**", "nwk": "0x47D9", "manufacturer": "Aqara", "model": "lumi.switch.aeu003", "friendly_manufacturer": "Aqara", "friendly_model": "lumi.switch.aeu003", "name": "Aqara lumi.switch.aeu003", "quirk_applied": true, "quirk_class": "zigpy.quirks.v2.CustomDeviceV2", "exposes_features": [], "manufacturer_code": 4447, "power_source": "Mains", "lqi": 255, "rssi": -28, "last_seen": "2026-02-18T09:16:13.655268+00:00", "available": true, "device_type": "Router", "active_coordinator": false, "node_descriptor": { "logical_type": "Router", "complex_descriptor_available": false, "user_descriptor_available": false, "reserved": 0, "aps_flags": 0, "frequency_band": 8, "mac_capability_flags": 142, "manufacturer_code": 4447, "maximum_buffer_size": 82, "maximum_incoming_transfer_size": 82, "server_mask": 11264, "maximum_outgoing_transfer_size": 82, "descriptor_capability_field": 0 }, "endpoints": { "1": { "profile_id": 260, "device_type": { "name": "ON_OFF_SWITCH", "id": 0 }, "in_clusters": [ { "cluster_id": "0x0000", "endpoint_attribute": "basic", "attributes": [ { "id": "0x0004", "name": "manufacturer", "zcl_type": "string", "value": "Aqara" }, { "id": "0x0005", "name": "model", "zcl_type": "string", "value": "lumi.switch.aeu003" } ] }, { "cluster_id": "0x0003", "endpoint_attribute": "identify", "attributes": [] }, { "cluster_id": "0x0004", "endpoint_attribute": "groups", "attributes": [] }, { "cluster_id": "0x0005", "endpoint_attribute": "scenes", "attributes": [] }, { "cluster_id": "0x0102", "endpoint_attribute": "window_covering", "attributes": [ { "id": "0x0007", "name": "config_status", "zcl_type": "map8", "value": 0 }, { "id": "0x0003", "name": "current_position_lift", "zcl_type": "uint16", "value": 0 }, { "id": "0x0008", "name": "current_position_lift_percentage", "zcl_type": "uint8", "value": 0 }, { "id": "0x0009", "name": "current_position_tilt_percentage", "zcl_type": "uint8", "value": 0 }, { "id": "0x0011", "name": "installed_closed_limit_lift", "zcl_type": "uint16", "value": 0 }, { "id": "0x0013", "name": "installed_closed_limit_tilt", "zcl_type": "uint16", "value": 0 }, { "id": "0x0010", "name": "installed_open_limit_lift", "zcl_type": "uint16", "value": 0 }, { "id": "0x0012", "name": "installed_open_limit_tilt", "zcl_type": "uint16", "value": 0 }, { "id": "0x0017", "name": "window_covering_mode", "zcl_type": "map8", "value": 0 }, { "id": "0x0000", "name": "window_covering_type", "zcl_type": "enum8", "value": 0 } ] }, { "cluster_id": "0x0702", "endpoint_attribute": "smartenergy_metering", "attributes": [ { "id": "0x0000", "name": "current_summ_delivered", "zcl_type": "uint48", "value": 55 }, { "id": "0x0001", "name": "current_summ_received", "zcl_type": "uint48", "unsupported": true }, { "id": "0x0100", "name": "current_tier1_summ_delivered", "zcl_type": "uint48", "unsupported": true }, { "id": "0x0102", "name": "current_tier2_summ_delivered", "zcl_type": "uint48", "unsupported": true }, { "id": "0x0104", "name": "current_tier3_summ_delivered", "zcl_type": "uint48", "unsupported": true }, { "id": "0x0106", "name": "current_tier4_summ_delivered", "zcl_type": "uint48", "unsupported": true }, { "id": "0x0108", "name": "current_tier5_summ_delivered", "zcl_type": "uint48", "unsupported": true }, { "id": "0x010a", "name": "current_tier6_summ_delivered", "zcl_type": "uint48", "unsupported": true }, { "id": "0x0304", "name": "demand_formatting", "zcl_type": "map8", "unsupported": true }, { "id": "0x0302", "name": "divisor", "zcl_type": "uint24", "value": 1000 }, { "id": "0x0400", "name": "instantaneous_demand", "zcl_type": "int24", "unsupported": true }, { "id": "0x0306", "name": "metering_device_type", "zcl_type": "map8", "value": 0 }, { "id": "0x0301", "name": "multiplier", "zcl_type": "uint24", "value": 1 }, { "id": "0x0200", "name": "status", "zcl_type": "map8", "unsupported": true }, { "id": "0x0303", "name": "summation_formatting", "zcl_type": "map8", "value": 159 }, { "id": "0x0300", "name": "unit_of_measure", "zcl_type": "enum8", "value": 0 } ] }, { "cluster_id": "0x0b04", "endpoint_attribute": "electrical_measurement", "attributes": [ { "id": "0x0603", "name": "ac_current_divisor", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0602", "name": "ac_current_multiplier", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0300", "name": "ac_frequency", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0401", "name": "ac_frequency_divisor", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0302", "name": "ac_frequency_max", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0400", "name": "ac_frequency_multiplier", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0605", "name": "ac_power_divisor", "zcl_type": "uint16", "value": 10 }, { "id": "0x0604", "name": "ac_power_multiplier", "zcl_type": "uint16", "value": 1 }, { "id": "0x0601", "name": "ac_voltage_divisor", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0600", "name": "ac_voltage_multiplier", "zcl_type": "uint16", "unsupported": true }, { "id": "0x050b", "name": "active_power", "zcl_type": "int16", "value": 0 }, { "id": "0x050d", "name": "active_power_max", "zcl_type": "int16", "unsupported": true }, { "id": "0x090d", "name": "active_power_max_ph_b", "zcl_type": "int16", "unsupported": true }, { "id": "0x0a0d", "name": "active_power_max_ph_c", "zcl_type": "int16", "unsupported": true }, { "id": "0x090b", "name": "active_power_ph_b", "zcl_type": "int16", "unsupported": true }, { "id": "0x0a0b", "name": "active_power_ph_c", "zcl_type": "int16", "unsupported": true }, { "id": "0x050f", "name": "apparent_power", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0000", "name": "measurement_type", "zcl_type": "map32", "value": 1 }, { "id": "0x0403", "name": "power_divisor", "zcl_type": "uint32", "unsupported": true }, { "id": "0x0510", "name": "power_factor", "zcl_type": "int8", "unsupported": true }, { "id": "0x0910", "name": "power_factor_ph_b", "zcl_type": "int8", "unsupported": true }, { "id": "0x0a10", "name": "power_factor_ph_c", "zcl_type": "int8", "unsupported": true }, { "id": "0x0402", "name": "power_multiplier", "zcl_type": "uint32", "unsupported": true }, { "id": "0x0508", "name": "rms_current", "zcl_type": "uint16", "unsupported": true }, { "id": "0x050a", "name": "rms_current_max", "zcl_type": "uint16", "unsupported": true }, { "id": "0x090a", "name": "rms_current_max_ph_b", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0a0a", "name": "rms_current_max_ph_c", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0908", "name": "rms_current_ph_b", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0a08", "name": "rms_current_ph_c", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0505", "name": "rms_voltage", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0507", "name": "rms_voltage_max", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0907", "name": "rms_voltage_max_ph_b", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0a07", "name": "rms_voltage_max_ph_c", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0905", "name": "rms_voltage_ph_b", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0a05", "name": "rms_voltage_ph_c", "zcl_type": "uint16", "unsupported": true }, { "id": "0x0304", "name": "total_active_power", "zcl_type": "int32", "unsupported": true } ] }, { "cluster_id": "0xfcc0", "endpoint_attribute": "opple_cluster", "attributes": [ { "id": "0x0285", "name": "lock_relay", "zcl_type": "bool", "unsupported": true }, { "id": "0x0200", "name": "operation_mode", "zcl_type": "enum8", "value": 1 }, { "id": "0x041f", "name": "position_percent", "zcl_type": "uint8", "value": 100 }, { "id": "0x00f5", "name": "position_raw", "zcl_type": "uint32", "value": 0 }, { "id": "0x0402", "name": "reverse_direction", "zcl_type": "bool", "value": 1 } ] } ], "out_clusters": [ { "cluster_id": "0x000a", "endpoint_attribute": "time", "attributes": [] }, { "cluster_id": "0x0019", "endpoint_attribute": "ota", "attributes": [ { "id": "0x0002", "name": "current_file_version", "zcl_type": "uint32", "value": 3604 } ] } ] }, "2": { "profile_id": 260, "device_type": { "name": "ON_OFF_SWITCH", "id": 0 }, "in_clusters": [ { "cluster_id": "0xfcc0", "endpoint_attribute": "opple_cluster", "attributes": [ { "id": "0x0285", "name": "lock_relay", "zcl_type": "bool", "value": 0 }, { "id": "0x0200", "name": "operation_mode", "zcl_type": "enum8", "value": 1 } ] } ], "out_clusters": [] }, "3": { "profile_id": 260, "device_type": { "name": "ON_OFF_SWITCH", "id": 0 }, "in_clusters": [ { "cluster_id": "0x0012", "endpoint_attribute": "multistate_input", "attributes": [ { "id": "0x0055", "name": "present_value", "zcl_type": "uint16", "value": 1 } ] }, { "cluster_id": "0xfcc0", "endpoint_attribute": "opple_cluster", "attributes": [ { "id": "0x0286", "name": "multi_click", "zcl_type": "uint8", "value": 2 } ] } ], "out_clusters": [] }, "4": { "profile_id": 260, "device_type": { "name": "ON_OFF_SWITCH", "id": 0 }, "in_clusters": [ { "cluster_id": "0x0012", "endpoint_attribute": "multistate_input", "attributes": [] }, { "cluster_id": "0xfcc0", "endpoint_attribute": "opple_cluster", "attributes": [ { "id": "0x0286", "name": "multi_click", "zcl_type": "uint8", "value": 2 } ] } ], "out_clusters": [] }, "21": { "profile_id": 260, "device_type": { "name": "ON_OFF_SWITCH", "id": 0 }, "in_clusters": [ { "cluster_id": "0x000c", "endpoint_attribute": "analog_input", "attributes": [ { "id": "0x0100", "name": "application_type", "zcl_type": "uint32", "unsupported": true }, { "id": "0x001c", "name": "description", "zcl_type": "string", "unsupported": true }, { "id": "0x0075", "name": "engineering_units", "zcl_type": "enum16", "unsupported": true }, { "id": "0x0041", "name": "max_present_value", "zcl_type": "single", "unsupported": true }, { "id": "0x0045", "name": "min_present_value", "zcl_type": "single", "unsupported": true }, { "id": "0x0051", "name": "out_of_service", "zcl_type": "bool", "value": 0 }, { "id": "0x0055", "name": "present_value", "zcl_type": "single", "value": 0.0 }, { "id": "0x0067", "name": "reliability", "zcl_type": "enum8", "unsupported": true }, { "id": "0x006a", "name": "resolution", "zcl_type": "single", "unsupported": true }, { "id": "0x006f", "name": "status_flags", "zcl_type": "map8", "value": 0 } ] } ], "out_clusters": [] } }, "original_signature": {}, "zha_lib_entities": { "button": [ { "info_object": { "fallback_name": null, "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "button", "class_name": "IdentifyButton", "translation_key": null, "translation_placeholders": null, "device_class": "identify", "state_class": null, "entity_category": "diagnostic", "entity_registry_enabled_default": true, "enabled": true, "primary": false, "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": "**REDACTED**", "status": "INITIALIZED", "value_attribute": null } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "command": "identify", "args": [ 5 ], "kwargs": {} }, "state": { "class_name": "IdentifyButton", "available": true } }, { "info_object": { "fallback_name": "Force close cover", "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "button", "class_name": "Button", "translation_key": "force_close_cover", "translation_placeholders": null, "device_class": null, "state_class": null, "entity_category": "config", "entity_registry_enabled_default": true, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "WindowCoveringClusterHandler", "generic_id": "cluster_handler_0x0102", "endpoint_id": 1, "cluster": { "id": 258, "name": "Window Covering", "type": "server" }, "id": "1:0x0102", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": "current_position_lift_percentage" } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "command": "down_close", "args": [], "kwargs": {} }, "state": { "class_name": "Button", "available": true } }, { "info_object": { "fallback_name": "Stop cover", "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "button", "class_name": "Button", "translation_key": "stop_cover", "translation_placeholders": null, "device_class": null, "state_class": null, "entity_category": "config", "entity_registry_enabled_default": true, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "WindowCoveringClusterHandler", "generic_id": "cluster_handler_0x0102", "endpoint_id": 1, "cluster": { "id": 258, "name": "Window Covering", "type": "server" }, "id": "1:0x0102", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": "current_position_lift_percentage" } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "command": "stop", "args": [], "kwargs": {} }, "state": { "class_name": "Button", "available": true } }, { "info_object": { "fallback_name": "Force open cover", "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "button", "class_name": "Button", "translation_key": "force_open_cover", "translation_placeholders": null, "device_class": null, "state_class": null, "entity_category": "config", "entity_registry_enabled_default": true, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "WindowCoveringClusterHandler", "generic_id": "cluster_handler_0x0102", "endpoint_id": 1, "cluster": { "id": 258, "name": "Window Covering", "type": "server" }, "id": "1:0x0102", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": "current_position_lift_percentage" } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "command": "up_open", "args": [], "kwargs": {} }, "state": { "class_name": "Button", "available": true } } ], "cover": [ { "info_object": { "fallback_name": null, "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "cover", "class_name": "Cover", "translation_key": "cover", "translation_placeholders": null, "device_class": null, "state_class": null, "entity_category": null, "entity_registry_enabled_default": true, "enabled": true, "primary": true, "cluster_handlers": [ { "class_name": "WindowCoveringClusterHandler", "generic_id": "cluster_handler_0x0102", "endpoint_id": 1, "cluster": { "id": 258, "name": "Window Covering", "type": "server" }, "id": "1:0x0102", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": "current_position_lift_percentage" } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null }, "state": { "class_name": "Cover", "available": true, "current_position": 100, "current_tilt_position": null, "state": "open", "is_opening": false, "is_closing": false, "is_closed": false } } ], "select": [ { "info_object": { "fallback_name": "Operation mode left", "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "select", "class_name": "ZCLEnumSelectEntity", "translation_key": "operation_mode_left", "translation_placeholders": null, "device_class": null, "state_class": null, "entity_category": "diagnostic", "entity_registry_enabled_default": false, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "OppleRemoteClusterHandler", "generic_id": "cluster_handler_0xfcc0", "endpoint_id": 1, "cluster": { "id": 64704, "name": "AqaraManuSpecificCluster", "type": "server" }, "id": "1:0xfcc0", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": null } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "enum": "AqaraOperationMode", "options": [ "Decoupled", "Relay" ] }, "state": { "class_name": "ZCLEnumSelectEntity", "available": true, "state": "Relay" } }, { "info_object": { "fallback_name": "Operation mode right", "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "select", "class_name": "ZCLEnumSelectEntity", "translation_key": "operation_mode_right", "translation_placeholders": null, "device_class": null, "state_class": null, "entity_category": "diagnostic", "entity_registry_enabled_default": false, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "OppleRemoteClusterHandler", "generic_id": "cluster_handler_0xfcc0", "endpoint_id": 2, "cluster": { "id": 64704, "name": "AqaraManuSpecificCluster", "type": "server" }, "id": "2:0xfcc0", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": null } ], "device_ieee": "**REDACTED**", "endpoint_id": 2, "available": true, "group_id": null, "enum": "AqaraOperationMode", "options": [ "Decoupled", "Relay" ] }, "state": { "class_name": "ZCLEnumSelectEntity", "available": true, "state": "Relay" } } ], "sensor": [ { "info_object": { "fallback_name": null, "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "sensor", "class_name": "LQISensor", "translation_key": "lqi", "translation_placeholders": null, "device_class": null, "state_class": "measurement", "entity_category": "diagnostic", "entity_registry_enabled_default": false, "enabled": true, "primary": false, "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": "**REDACTED**", "status": "INITIALIZED", "value_attribute": null } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "suggested_display_precision": null, "unit": null }, "state": { "class_name": "LQISensor", "available": true, "state": 255 } }, { "info_object": { "fallback_name": null, "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "sensor", "class_name": "RSSISensor", "translation_key": "rssi", "translation_placeholders": null, "device_class": "signal_strength", "state_class": "measurement", "entity_category": "diagnostic", "entity_registry_enabled_default": false, "enabled": true, "primary": false, "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": "**REDACTED**", "status": "INITIALIZED", "value_attribute": null } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "suggested_display_precision": null, "unit": "dBm" }, "state": { "class_name": "RSSISensor", "available": true, "state": -28 } }, { "info_object": { "fallback_name": null, "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "sensor", "class_name": "SmartEnergySummation", "translation_key": "summation_delivered", "translation_placeholders": null, "device_class": "energy", "state_class": "total_increasing", "entity_category": null, "entity_registry_enabled_default": true, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "MeteringClusterHandler", "generic_id": "cluster_handler_0x0702", "endpoint_id": 1, "cluster": { "id": 1794, "name": "Metering", "type": "server" }, "id": "1:0x0702", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": "instantaneous_demand" } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "suggested_display_precision": 3, "unit": "kWh" }, "state": { "class_name": "SmartEnergySummation", "available": true, "state": 0.055, "device_type": "Electric Metering", "zcl_unit_of_measurement": 0 }, "extra_state_attributes": [ "device_type", "status", "zcl_unit_of_measurement" ] }, { "info_object": { "fallback_name": null, "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "sensor", "class_name": "WindowCoveringTypeSensor", "translation_key": "window_covering_type", "translation_placeholders": null, "device_class": "enum", "state_class": null, "entity_category": "diagnostic", "entity_registry_enabled_default": true, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "WindowCoveringClusterHandler", "generic_id": "cluster_handler_0x0102", "endpoint_id": 1, "cluster": { "id": 258, "name": "Window Covering", "type": "server" }, "id": "1:0x0102", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": "current_position_lift_percentage" } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "suggested_display_precision": null, "unit": null }, "state": { "class_name": "WindowCoveringTypeSensor", "available": true, "state": "Rollershade" } }, { "info_object": { "fallback_name": null, "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "sensor", "class_name": "PolledElectricalMeasurement", "translation_key": null, "translation_placeholders": null, "device_class": "power", "state_class": "measurement", "entity_category": null, "entity_registry_enabled_default": true, "enabled": true, "primary": false, "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": "**REDACTED**", "status": "INITIALIZED", "value_attribute": "ac_voltage_multiplier" } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "suggested_display_precision": 1, "unit": "W" }, "state": { "class_name": "PolledElectricalMeasurement", "available": true, "state": 0.0, "measurement_type": "ACTIVE_MEASUREMENT" }, "extra_state_attributes": [ "active_power_max", "measurement_type" ] }, { "info_object": { "fallback_name": "Position raw", "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "sensor", "class_name": "Sensor", "translation_key": "position_raw", "translation_placeholders": null, "device_class": null, "state_class": null, "entity_category": null, "entity_registry_enabled_default": true, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "OppleRemoteClusterHandler", "generic_id": "cluster_handler_0xfcc0", "endpoint_id": 1, "cluster": { "id": 64704, "name": "AqaraManuSpecificCluster", "type": "server" }, "id": "1:0xfcc0", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": null } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "suggested_display_precision": null, "unit": null }, "state": { "class_name": "Sensor", "available": true, "state": 0 } } ], "switch": [ { "info_object": { "fallback_name": "Lock relay left", "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "switch", "class_name": "ConfigurableAttributeSwitch", "translation_key": "lock_relay_left", "translation_placeholders": null, "device_class": null, "state_class": null, "entity_category": "diagnostic", "entity_registry_enabled_default": false, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "OppleRemoteClusterHandler", "generic_id": "cluster_handler_0xfcc0", "endpoint_id": 1, "cluster": { "id": 64704, "name": "AqaraManuSpecificCluster", "type": "server" }, "id": "1:0xfcc0", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": null } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "attribute_name": "lock_relay", "invert_attribute_name": null, "force_inverted": false, "off_value": 0, "on_value": 1 }, "state": { "class_name": "ConfigurableAttributeSwitch", "available": true, "state": false, "inverted": false } }, { "info_object": { "fallback_name": "Inverted", "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "switch", "class_name": "ConfigurableAttributeSwitch", "translation_key": "inverted", "translation_placeholders": null, "device_class": null, "state_class": null, "entity_category": "config", "entity_registry_enabled_default": true, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "OppleRemoteClusterHandler", "generic_id": "cluster_handler_0xfcc0", "endpoint_id": 1, "cluster": { "id": 64704, "name": "AqaraManuSpecificCluster", "type": "server" }, "id": "1:0xfcc0", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": null } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "attribute_name": "reverse_direction", "invert_attribute_name": null, "force_inverted": false, "off_value": 0, "on_value": 1 }, "state": { "class_name": "ConfigurableAttributeSwitch", "available": true, "state": true, "inverted": false } }, { "info_object": { "fallback_name": "Lock relay right", "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "switch", "class_name": "ConfigurableAttributeSwitch", "translation_key": "lock_relay_right", "translation_placeholders": null, "device_class": null, "state_class": null, "entity_category": "diagnostic", "entity_registry_enabled_default": false, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "OppleRemoteClusterHandler", "generic_id": "cluster_handler_0xfcc0", "endpoint_id": 2, "cluster": { "id": 64704, "name": "AqaraManuSpecificCluster", "type": "server" }, "id": "2:0xfcc0", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": null } ], "device_ieee": "**REDACTED**", "endpoint_id": 2, "available": true, "group_id": null, "attribute_name": "lock_relay", "invert_attribute_name": null, "force_inverted": false, "off_value": 0, "on_value": 1 }, "state": { "class_name": "ConfigurableAttributeSwitch", "available": true, "state": false, "inverted": false } }, { "info_object": { "fallback_name": "Multi click button 3", "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "switch", "class_name": "ConfigurableAttributeSwitch", "translation_key": "multi_click_button_3", "translation_placeholders": null, "device_class": null, "state_class": null, "entity_category": "config", "entity_registry_enabled_default": true, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "OppleRemoteClusterHandler", "generic_id": "cluster_handler_0xfcc0", "endpoint_id": 3, "cluster": { "id": 64704, "name": "AqaraManuSpecificCluster", "type": "server" }, "id": "3:0xfcc0", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": null } ], "device_ieee": "**REDACTED**", "endpoint_id": 3, "available": true, "group_id": null, "attribute_name": "multi_click", "invert_attribute_name": null, "force_inverted": false, "off_value": 1, "on_value": 2 }, "state": { "class_name": "ConfigurableAttributeSwitch", "available": true, "state": true, "inverted": false } }, { "info_object": { "fallback_name": "Multi click button 4", "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "switch", "class_name": "ConfigurableAttributeSwitch", "translation_key": "multi_click_button_4", "translation_placeholders": null, "device_class": null, "state_class": null, "entity_category": "config", "entity_registry_enabled_default": true, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "OppleRemoteClusterHandler", "generic_id": "cluster_handler_0xfcc0", "endpoint_id": 4, "cluster": { "id": 64704, "name": "AqaraManuSpecificCluster", "type": "server" }, "id": "4:0xfcc0", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": null } ], "device_ieee": "**REDACTED**", "endpoint_id": 4, "available": true, "group_id": null, "attribute_name": "multi_click", "invert_attribute_name": null, "force_inverted": false, "off_value": 1, "on_value": 2 }, "state": { "class_name": "ConfigurableAttributeSwitch", "available": true, "state": true, "inverted": false } } ], "update": [ { "info_object": { "fallback_name": null, "unique_id": "**REDACTED**", "migrate_unique_ids": [], "platform": "update", "class_name": "FirmwareUpdateEntity", "translation_key": null, "translation_placeholders": null, "device_class": "firmware", "state_class": null, "entity_category": "config", "entity_registry_enabled_default": true, "enabled": true, "primary": false, "cluster_handlers": [ { "class_name": "OtaClientClusterHandler", "generic_id": "cluster_handler_0x0019_client", "endpoint_id": 1, "cluster": { "id": 25, "name": "Ota", "type": "client" }, "id": "1:0x0019_client", "unique_id": "**REDACTED**", "status": "INITIALIZED", "value_attribute": null } ], "device_ieee": "**REDACTED**", "endpoint_id": 1, "available": true, "group_id": null, "supported_features": 7 }, "state": { "class_name": "FirmwareUpdateEntity", "available": true, "installed_version": "0x00000e14", "in_progress": false, "update_percentage": null, "latest_version": null, "release_summary": null, "release_notes": null, "release_url": null } } ] }, "neighbors": [ { "device_type": "Coordinator", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "**REDACTED**", "ieee": "**REDACTED**", "nwk": "0x0000", "permit_joining": "Unknown", "depth": 0, "lqi": 233 }, { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "**REDACTED**", "ieee": "**REDACTED**", "nwk": "0x0602", "permit_joining": "Unknown", "depth": 15, "lqi": 124 }, { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "**REDACTED**", "ieee": "**REDACTED**", "nwk": "0x0A44", "permit_joining": "Unknown", "depth": 15, "lqi": 113 }, { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "**REDACTED**", "ieee": "**REDACTED**", "nwk": "0x2E47", "permit_joining": "Unknown", "depth": 15, "lqi": 153 }, { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "**REDACTED**", "ieee": "**REDACTED**", "nwk": "0x449D", "permit_joining": "Unknown", "depth": 15, "lqi": 105 }, { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "**REDACTED**", "ieee": "**REDACTED**", "nwk": "0x6290", "permit_joining": "Unknown", "depth": 15, "lqi": 102 }, { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "**REDACTED**", "ieee": "**REDACTED**", "nwk": "0x7170", "permit_joining": "Unknown", "depth": 15, "lqi": 125 }, { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Parent", "extended_pan_id": "**REDACTED**", "ieee": "**REDACTED**", "nwk": "0x94D3", "permit_joining": "Unknown", "depth": 15, "lqi": 186 }, { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "**REDACTED**", "ieee": "**REDACTED**", "nwk": "0xE00A", "permit_joining": "Unknown", "depth": 15, "lqi": 91 } ], "routes": [ { "dest_nwk": "0x0000", "route_status": "Active", "memory_constrained": false, "many_to_one": false, "route_record_required": false, "next_hop": "0x0000" } ] }, "issues": [] }Checklist
pre-commitchecks pass / the code has been formatted using Black