Hi!
Is there an option to pass value of sensor directly to the switch
entity state?
Like
action:
do_magic:
entity_id: switch.my_cool_socket
value: {{ states('sensor.my_cool_calculated_sensor') }}
instead of writing long story with choose
or if-then-else.
I want to use template sensor which has on/off values to control my power socket.
Thank you.
3 posts - 2 participants