Hi, I have made a template for status of our Sauna based on the temperature sensor. I just figured out the templates so I’m very new with these. I just don’t get why this is not workin properly:
So the problem is that the states “Warm up” and “Cool down” never become true. I have checked that the temperature value will exeed the limits and the trend sensor becomes on. The state of the template is blank when this condition is on.
Just wondering is there anybody who could tell whats wrong in my code?
Also the tips were very useful. I didn’t know the meaning of Template part in developer tools. That will make testing and debugging much easier as you don’t have to reboot the whole system all of the time.
Next i will make the code little bit shorter with your example.
Sauna_lampenee is a binary sensor using trend platform. When the value of sensor.sauna_temperature is increasing the binary sensor is on and when decreasing it’s off. I haven’t used any parameters as I think it’s ok with default configuratuon. Future show is there something to tune.
You don’t even need to reboot the whole system when you have completed your template sensor. You can just reload that template components over the server control.