Verify automation actions

I’ve just started out creating automations for my brand new Home Assistant installation. I have a Sensibo Sky heat pump control that I wish to automate day-time and night-time temperature reduction. I’ve tested it a few days now, and I’m having problems with the temperature not necessarily being set correctly. Home Assistant reports back that the automations have run correctly (When clicking the automation, it says “Last triggered: X minutes/hours ago”). But still the temperature is not set correctly. If I manually trigger the automation, it sets the temperature as it should.

I wonder if it could have something to do with IR transmissions being corrupted for some reason. How can I get Home Assistant to verify that an automation has been carried out successfully? Let’s say I wanted the automation to detect if the temperature hadn’t been set on the first attempt, and if so, attempt to set it again. And keep doing this before finally sending me a notification if it fails after X retries. Is this possible?

Change the first automation’s action section into a script that executes what was in the action section. At the end of the script fire another script that checks if the temperature was set. If not, execute the first script again. If you use the counter component, you can incorporate that and count the number of times you looped.

2 Likes

Thank you for the help. I will try it out. :slight_smile: