Smart Thermostat Automation Setup and Temperature Adjustment

Hello everyone, I’m currently working on setting up a smart thermostat automation for my chicken brooder box. It’s been an exciting project, and I’ve learned a lot along the way. I’m using a generic thermostat to control a heat lamp, and I want to automate the temperature decrease by 0.5 degrees every day at a specific time.

Here’s what I’ve come up with so far: I’ve created an automation that triggers at 2:00 PM. It checks if the thermostat is on and if a delay input is set below 1. If both conditions are met, it runs a script to decrease the temperature. The script is supposed to take the current temperature from the thermostat, subtract 0.5 degrees, and set it back.

However, I’m running into an issue with passing the current temperature value from the thermostat to the script. I’ve tried using climate.brooder_box.temperature in the script, but it doesn’t seem to be working as expected. I was wondering if there’s a different way to access the temperature value or if I’m missing something in my configuration.

I’d really appreciate any advice or suggestions on how to fix this. It would be fantastic to get this automation working smoothly so I can focus on other aspects of my smart home setup. Thanks in advance for your help! :pray: