My 3D printer have to states for ‘on’ mod (Operational and Printing) so how do I make a “or” funktion in switch “is_stat”??
- platform: template
switches:
printer_on_off:
turn_on:
service: script.3d_printer_on
turn_off:
service: script.3d_printer_off
friendly_name: "3D Printer On Off"
value_template: "{{ is_state('sensor.ender_3_current_state', 'Operational', 'Printing') }}"