Two helpers aren't link together

I’ve created two helpers, one is an input, second is a template.


Second:

When I open the switch template in UI and toggle the state, I can see that the input state changes, but when I change the input state, the template doesn’t update.

I can’t use input_boolean in the thermostat helper, so I imagined I could use a switch template for it.

How can I bind those two together, so that when the input state changes the template updates

Templates need {{ }} to work:

{{is_state('input_boolean.kaloryfer', 'on')}}

You can always use Developer tools > Templates to test any template before use.

Thank You so much!