zha-device-handlers
zha-device-handlers copied to clipboard
Improve Legrand 064882 cable outlet heat mode
Proposed change
Following https://github.com/zigpy/zha-device-handlers/pull/2807
Pilot wire mode has been renamed to heat mode. Enum for device_mode has been removed as it's not used. The value is now exposed and you can read and write the cluster of the attribute. This will allow the creation of a climate entity in ZHA to control the heat mode.
Additional information
A PR has be open in Home Assistant Core to add the support using climate entity : https://github.com/home-assistant/core/pull/113059
To use the climate entity, user will needed to pass the device in wire pilot mode by toggling the new switch entity : wire pilot mode
Checklist
- [x] The changes are tested and work correctly
- [x]
pre-commitchecks pass / the code has been formatted using Black - [ ] Tests have been added to verify that the new code works