Custom integration for Home Assistant installable via HACS, based on the core melcloud integration, designed for Mitsubishi Ecodan Air-To-Water units managed through MELCloud.
This custom integration intentionally keeps:
"domain": "melcloud"The directory structure stays custom_components/melcloud/, matching the Home Assistant core integration. This way Home Assistant continues using the existing MELCloud config entry located at:
/config/.storage/core.config_entries
No username, password, or token is requested again. The custom integration reuses the data already configured by the previous official integration. Do not include tokens, passwords, or personal data in the repo.
This modded version of the core melcloud integration changes how ATW/Ecodan climate zones behave:
- the climate zone target temperature becomes the real flow temperature;
climate.casa_zone_1controlsSetCoolFlowTemperatureZone1orSetHeatFlowTemperatureZone1;climate.agrinido_zone_1uses the same logic;- the logic applies to all MELCloud ATW zones in general;
- the ATA air-to-air part is not modified.
The pymelcloud patch does not modify site-packages: it is applied at runtime idempotently inside custom_components/melcloud/__init__.py.
The integration uses the standard Home Assistant DataUpdateCoordinator with an internal update every 8 minutes. No need to create automations with homeassistant.update_entity or periodically reload the integration.
- Publish this folder as a GitHub repository.
- In HACS, open custom repositories.
- Add the repo URL as an integration.
- Install
MELCloud Flow Control. - Restart Home Assistant.
After the restart, Home Assistant should load custom_components/melcloud instead of the official core integration.
Casa:
action: climate.set_temperature
target:
entity_id: climate.casa_zone_1
data:
temperature: 18Agrinido:
action: climate.set_temperature
target:
entity_id: climate.agrinido_zone_1
data:
temperature: 18- After HACS installation and restart, check the logs that Home Assistant loads
custom_components/melcloud. - Verify
climate.casa_zone_1: in summer/cooling mode the target should matchSetCoolFlowTemperatureZone1. - Call:
action: climate.set_temperature
target:
entity_id: climate.casa_zone_1
data:
temperature: 24Then verify from MELCloud web/app that the Casa flow temperature changes.
- Repeat for Agrinido:
action: climate.set_temperature
target:
entity_id: climate.agrinido_zone_1
data:
temperature: 18- Verify that MELCloud sensors are no longer
Unavailable, in particular:
sensor.casa_temperatura_di_flussosensor.casa_return_temperaturesensor.casa_heat_pump_frequencysensor.casa_demand_percentagesensor.agrinido_temperatura_di_flussosensor.agrinido_return_temperature
This integration is not official Mitsubishi. It overrides the core melcloud integration through a custom component, so Home Assistant updates may change the original core integration. Keep this fork aligned when updating Home Assistant.