Edge Driver Update: KD-R01D Knob, W500 Thermostat, Cube 1.6, and More

Hi everyone,

I have pushed a large update in PR #26 with several new device improvements and refactors across the Xiaomi/Aqara Edge drivers.

This update is focused on compatibility with new capabilities and the newest Aqara firmware behavior.

Key points:

  • Knob behavior is now aligned with official support behavior.

  • Brightness adjustment now works natively, without previous workaround hacks.

  • Cube event emission was updated to match the new capability/event model.

  • Several profile, preference, and handler updates were made to keep behavior consistent across newer firmware/device revisions.

What is new:

  • Aqara Wireless Smart Knob H1 support (lumi.switch.agl011)

  • New KD-R01D profiles for event-focused mode and basic mode

  • Knob actions and rotateAmount integration improvements

  • W500 floor thermostat support with extended thermostat modes and preset handling

  • Power and energy reporting improvements for supported switch/thermostat devices

  • Aqara Cube update to version 1.6 with rotateAmount wiring

  • Shared Xiaomi/Zigbee utility refactor and linting cleanup

  • Added internal skills docs for Aqara custom clusters and preference handling

Notes:

  • This is a broad update touching multiple drivers and profiles, so community validation is especially valuable.

  • If you test, please include model, firmware, profile, and a short reproduction for any issue.

Thanks to everyone for logs, reproductions, and device-specific feedback. It helps prioritize fixes quickly.