Mitsubishi MELCLOUD integration with Home Assistant

@ollo69 The latest version already supports vane control through the set_vane_horizontal and set_vane_vertical services. There’s also a PR open for adding this into upstream home-assistant https://github.com/home-assistant/core/pull/32672

@xti9 Ecodan support is merged to upstream home-assistant and it’s on its way to 0.107.

@snowatom I’ve considered the configuration.yaml approach a sort of a second rate solution. You can add the integration through the user interface without much effort. If you really want to use the configuration.yaml you can find the header like this:

  1. Login to MELCloud with Remember me selected and English as your language.
  2. Hit F12 to open Developer Tools.
  3. Go to Network tab in the Developer Tools.
  4. Filter by XHR and open a device in the MELCloud user interface.
  5. Open the Get?id=xxxxxxxxxx&buildingID=xxxxxxxxxxxxx and go to request headers.
  6. Find the header from the list and copy its value.

Both approaches produce roughly the same config or config entry, but the configuration.yaml one is just a pain. I’ve configured my setup through the HA user interface.