I have a mini split AC connected to HA with smartthings and a separate temp sensor in the same room as the AC unit. I would like to make an automation so that home assistant reads the room temperature every 5 minutes on the remote sensor and adjusts the setpoint on the AC unit as follows – assuming my goal is to keep the room as close to 76°F…
If the room is 78°F (2 degrees too hot), it pushes the AC down by 2 degrees from its current setting.
If the room is 79°F (3 degrees too hot), it pushes the AC down by 3 degrees from its current setting.
If the room is 74°F (2 degrees too cold), it pushes the AC up by 2 degrees.
If the room is 73°F (3 degrees too cold), it pushes the AC up by 3 degrees.
Why do you assume that setting the goal beyond the limit changes the rate at which it cools or heats?
As you approach the goal, it can reduce the effect possibly and de-rate the effect to reduce overshoot, but when you are 2 or more degrees out, it will just run at full to catch up regardless..
A properly sized AC is normally expected to be able to drop the temperature 1-3°F per hour, so modifying the setpoint every 5 minutes isn't really useful.
If you are experiencing wide swings or uneven temps in different areas of the room, you may be better served adding a fan to increase the mixing of warm and cool air.