-
Hi, `switch:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's probably easier to turn the LED on/off when the relay is turned on/off using For the template switch you'll need to provide a |
Beta Was this translation helpful? Give feedback.
It's probably easier to turn the LED on/off when the relay is turned on/off using
on_turn_on
andon_turn_off
on therelay1
andrelay2
switches, instead of creating a template switch.For the template switch you'll need to provide a
lambda
that returns the current state of the switch.