alias: test rack
sequence:
- service: homeassistant.turn_on
data:
entity_id: >
{% if is_state('input_boolean.rack_mode_recirculate', 'off') and
is_state('input_boolean.rack_mode_vent', 'off') and
is_state('input_boolean.rack_mode_acrecirculate', 'off') and
is_state('input_boolean.rack_mode_acvent', 'off') %}
input_boolean.rack_mode_recirculate
{% else %} {% endif %}
mode: single
getting an error for entity id is invalid entity id