Schedy: Expression in allow_manual_changes (or fix for Shelly TRVs)

Hi, how would a get the value for allow_manual_changes from a HA helper?

Things that do not work:

allow_manual_changes: {{ is_state("input_boolean.heating_allowchanges", "on") }}

Templating does not seem to bee supported and the editor won’t even let me save it.

allow_manual_changes: "False if allow_changes() else True"

Schedy won’t initialize because that is not a bool and does not get evaluated like in the value / x.

allow_manual_changes: is_on("input_boolean.heating_allowchanges")
allow_manual_changes: "is_on('input_boolean.heating_allowchanges')"
allow_manual_changes: |
    is_on("input_boolean.heating_allowchanges")

won’t get evaluated either.

Background: My Shelly TRVs have started to behave erratically and report back old values after getting a command from HA which then results in setting the new temperature after the rescheduling_delay. When manually setting the temperature, I want this delay; in most cases, I do not.
If someone has a fix for the TRVs I’d be even happier :slight_smile:

Kind regards, Jörg