Hi,
I’ve been giving a try to the new trigger-based template feature and it looks like it could avoid using automation + input_number to store the value. I would like to create a template sensor that follows the value of my pool’s temperature sensor unless the filtration is off (in which case the last measured temperature should be preserved). I could trigger this template on any value change on my “physical” temperature sensor, but then it seems there’s no condition available to prevent updating when filtration is off.
Am I missing something? Is there any better way to achieve this?
Thanks.