Skip to content

Add Midea C3 heat pump (0xC3) support#417

Open
xelhark wants to merge 4 commits into
mill1000:mainfrom
xelhark:main
Open

Add Midea C3 heat pump (0xC3) support#417
xelhark wants to merge 4 commits into
mill1000:mainfrom
xelhark:main

Conversation

@xelhark
Copy link
Copy Markdown

@xelhark xelhark commented May 21, 2026

Summary

  • Add HeatPump (0xC3) device type to config flow: device type selector, cloud credentials (MSmartHome account/password), auto-discovery of device ID via UDP probe
  • Add MideaClimateHeatPumpZone climate entity: zone1 power, target temperature, HVAC modes (HEAT/COOL/AUTO/OFF)
  • Add sensor entities for water temperature, outdoor temperature, electric power, thermal power
  • Wire up SmartHomeCloud login in async_setup_entry for HeatPump devices (cloud relay instead of LAN)
  • Skip get_capabilities() and capability overrides for HeatPump
  • Add translations for all new fields and entities

Notes

Test plan

  • Tested against a real Midea C3 heat pump via Home Assistant
  • Config flow completes with auto-discovered device ID
  • Climate entity shows correct mode and target temperature
  • Integration reloads cleanly after HA restart

🤖 Generated with Claude Code

xelhark and others added 4 commits May 21, 2026 16:53
- Update manifest.json to use fork with C3 support
- Add HeatPump to MideaDevice TypeVar and add CONF_CLOUD_ACCOUNT/PASSWORD constants
- Update __init__.py: HeatPump uses cloud relay (no LAN auth, no capabilities query)
- Update config_flow.py: add HEAT_PUMP device type, cloud credentials for manual entry
- Add MideaClimateHeatPumpZone climate entity for zone control (power, temp, HVAC mode)
- Add sensor entities for water_temperature, outdoor_temperature, electric_power, thermal_power
- Update translations with device type selector and new sensor names

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…e notifications

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant