Oct 13, 2019
Buy a Xiaomi Air Conditioning Companion without first researching how well it is supported by Home Assistant.
Realize that the Chinese power socket for 16A is different from the 10A one.
Realize that nobody is selling a 16A socket adapter for a 10A China power outlet in Romania.
Order a 16A power socket from China.
Wait 2 months for both the socket and the device to arrive from China.
Realize that there is no adapter for the wall outlet from China also.
Find the only seller that will sell a modular outlet that matches outlet box, probably by mistake
Wait for them to tell you that it will be delivered in a month
If it did not arrive yet, wait for a socket module to be delivered
Install the wall module and power socket
Connect the Xiaomi Air Conditioning Companion and AC for the first time
Realize that the Xiaomi Mi Home App has been updated in the meantime and there is no working tutorial on how to get the password for Home Assistant.
Figure out (after many tries) how to get the gateway password.
Add it to Home Assistant and realize that the gateway is not well supported and that the only things you can do from Home Assistant are sound the alarm and change its volume.
Find the xiaomi_airconditioningcompanion module and realize that you didn’t need the gateway password in the first place.
Downgrade the Xiaomi Mi Home App to get the token as specified in the instructions: https://www.home-assistant.io/integrations/vacuum.xiaomi_miio#retrieving-the-access-token
Realize that you don’t have the right version of Hass.io to use the module.
Move to Hassbian from Hass.io
Finally, install the extension and setup the module.
Now the only thing that remains is to enjoy the comfort of controlling your air conditioning from a few feet away, without ever using the remote!