I’m trying to create an automation that turns on my AC and sets the setpoint to 83 deg. when the room temp rises past 82 deg, its between 6AM and 5PM and the day/time is not part of either of 2 schedule helpers (wfh, sleep).
The automation is working erratically and i would like some help troubleshooting what i have done wrong.
Remember that for that trigger to work, the temperature must change from below (or on) to above your threshold. If it’s already above when the other conditions are met, nothing will happen. The usual pattern is to add the conditions as triggers too and vice versa. In other words, add a 06h00 time trigger.
If this is not the answer to your issue, show us the histories around the time you expected this to work. Also provide an automation trace.
Lastly, steer away from device triggers. Use a plain numeric state trigger.
You should just turn it on at 06:00am and off at 05:00pm and set the setpoint to 83/auto
If the temperature is above 83 already, the AC will be on, but not cooling. If that is not wanted, add a temperature condition. In that case you might also need to add another trigger on temperature (and a time condition)
Or use the generic thermostat and switch to a preset mode at the time you want using an automation. This will allow you to adjust settings easily and manually turn off or on if needed.
You need to dramatically increase and improve the information you give us. What happened exactly and what were the conditions (values of sensors, etc.)? Where are your traces and logs? Which integration is controlling your AC?