@NicolasG wrote:
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
Posts: 2
Participants: 2