Switch always appearing "off" - is this possible?

Hey there,
I have a specific switch which is just a power toggle button for a device, so I don’t want the switch to be appear “on” when I press it, it should always think that I haven’t pressed it before. Is there a way to always have the value_template as false/off?

  - platform: template
    switches:
     klrst3g:
       value_template: "{{ is_state('script.klrst3g_onoff', 'on')}}"
       turn_on:
         service: script.turn_on
         entity_id: script.klrst3g_onoff
       turn_off:
         service: script.turn_on
         entity_id: script.klrst3g_onoff
       value_template: "{{ false }}"

I tried that, but it doesn’t work unfortunately! I am checking it with Apple HomeKit where I exposed the switch to. It only goes Off when I press it manually in HomeKit again.

What is the state of switch.klrst3g in Developer Tools > States? Is it on or off or is it always off?

Ok it indeed shows the right state in Developer Tools (off), while Homekit doesn’t. It shows as “On” in Apple Homekit when I press it, even though it is still off in Home Assistant. Even when I wait a little bit, the status in Homekit doesn’t change. I don’t have this problem with “real” switches, if I turn them off or on outside of Homekit, their status updates in Homekit as well. That’s unfortunate :frowning: