Since there's no feedback mechanism, how do you solve for when the state of the unit(s) gets out of sync with HomeAssistant's?
Since there's no feedback mechanism, how do you solve for when the state of the unit(s) gets out of sync with HomeAssistant's?
It just doesn't matter that much in my experience. If an issued command didn't work, it's easy to tell anyway (it's hot/cold), and you can just repeat it. HomeAssistant also has bits of special handling for items that don't communicate their state back, called "assumed state".
For the rare times I want to control my AC when being away from home, I have an air monitor nearby. I can just check if the temperature/humidity has changed, and repeat the command if it didn't work. If you _really_ cared you probably could script it to do it automagically, but I didn't feel the need to bother.
I have home assistant controlling an air conditioner in one room. (Well, mostly Node-RED.)
Every couple minutes it checks the temperature in the room and makes a decision on whether to call for cooling and tells the AC to turn on or off.
If it’s already on and cooling and it tells it to turn on… it’s a no-op, nothing happens. If it tells it to turn on and the command doesn’t go through… the room will stay warm so it will try the same thing in a couple of minutes. Same thing the other way (turning it off).
https://tasmota.github.io/docs/Tasmota-IR/#sending-ir-comman...
If you are in the room, you'll know soon enough, otherwise I guess it could be possible to rely on the audio feedback (a light beep) that the AC probably emits when it successfully receives a command. (and add a temperature sensor to check that it's working properly)
I guess you should hide those remote in a drawer and remove the batteries when you start using homeassistant
The completely overkill setup would be to get a different remote control, get my DIY receiver to accept that and convert it to my AC unit's IR code, updating HA while at it. The remote's state would be out of sync still, but it'll keep the units in sync with HA.
I have Zigbee contact sensors that provide on/off feedback to HA by detecting if the louvers are open.