Skip to content

feat(CD): expose more attributes for CD device#758

Open
FrancYescO wants to merge 11 commits intowuwentao:masterfrom
FrancYescO:master
Open

feat(CD): expose more attributes for CD device#758
FrancYescO wants to merge 11 commits intowuwentao:masterfrom
FrancYescO:master

Conversation

@FrancYescO
Copy link

PR Description

expose more attributes for CD

Reason & Detail

expose more attributes for CD

Related issue

#734

in conjuction with midea-lan/midea-local#420

Copilot AI review requested due to automatic review settings January 12, 2026 10:53
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request exposes additional device attributes for CD-type devices (Heat Pump Water Heaters) in the Midea AC LAN integration. The changes add sensor capabilities to monitor various operational states and system components of the water heater.

Changes:

  • Added 15 new translation entries for binary sensors and regular sensors in the English translation file
  • Configured 15 new entity definitions in the device configuration for CD (Heat Pump Water Heater) devices
  • Changed the water heater icon from "mdi:heat-pump" to "mdi:water-boiler"

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
custom_components/midea_ac_lan/translations/en.json Added English translations for newly exposed sensor attributes including mute controls, smart grid, multi terminal, electric heat components, water pump, and other system components
custom_components/midea_ac_lan/midea_devices.py Configured entity definitions for new CD device attributes with appropriate types, icons, device classes, and translations; updated water heater icon

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

chemelli74 and others added 3 commits January 12, 2026 13:27
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.5 → v0.14.10](astral-sh/ruff-pre-commit@v0.14.5...v0.14.10)
- [github.com/commitizen-tools/commitizen: v4.10.0 → v4.11.0](commitizen-tools/commitizen@v4.10.0...v4.11.0)
- [github.com/asottile/pyupgrade: v3.21.1 → v3.21.2](asottile/pyupgrade@v3.21.1...v3.21.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
updates:
- [github.com/commitizen-tools/commitizen: v4.11.0 → v4.11.1](commitizen-tools/commitizen@v4.11.0...v4.11.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Update custom_components/midea_ac_lan/midea_devices.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Update custom_components/midea_ac_lan/midea_devices.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Update custom_components/midea_ac_lan/midea_devices.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@wuwentao
Copy link
Owner

thanks for your PR.
there is a contributing guide doc: https://github.com/wuwentao/midea_ac_lan?tab=contributing-ov-file
anyway, for midea-local related error, we may need to merge lib side PR and publish a new release.
then some github action can run with latest lib side code and got pass result.

@wuwentao wuwentao changed the title feat expose more attributes for CD feat(CD): expose more attributes for CD device Feb 18, 2026
@wuwentao wuwentao added this to the v0.6.11 milestone Feb 18, 2026
@wuwentao
Copy link
Owner

thanks for your PR, could you help to update the CD device docs ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants