Set a template value for the schedule helper

Since 2024.10 we can set values for the schedule helpers, but it would be even better to set a value template in the additional data field. Currently it looks like this is not supported, the jinja code gets copied and not executed.

I’m looking for a way to reference an input number to have better control over a heating schedule without having to adjust the temperature manuale for each schedule item.


update, I found a neat little trick as a workaround. Instead of referencing the actual value in the schedule. You can reference the sensor name in the schedule item data and resolved the name in the automation.

example for the schedule data:

setpoint: thermostat_hc1_day_temperature_t3

and I use this to get it’s value in an automation:

{{ states('number.' ~ state_attr('schedule.heating_schedule', 'setpoint')) }}