I’ve been testing it in Dev Tools and the state( sensor.garage_door_emporia > 100) part is, I think, incorrectly formatted and I can’t figure how to correct it.
{% if is_state('binary_sensor.garage_door_open_sensor_contact', 'on') and
is_state('binary_sensor.garage_door_closed_sensor_contact', 'on') and state(
sensor.garage_door_emporia > 100) and is_state('input_boolean.garage_door_state', 'on') %}
Opening
{% elif is_state('binary_sensor.garage_door_open_sensor_contact', 'on') and
is_state('binary_sensor.garage_door_closed_sensor_contact', 'on') and state(
sensor.garage_door_emporia > 100) and is_state('input_boolean.garage_door_state', 'off') %}
Closing
{% elif is_state('binary_sensor.garage_door_open_sensor_contact', 'off') and
is_state('binary_sensor.garage_door_closed_sensor_contact', 'off') %}
Sensor fault
{% elif is_state('binary_sensor.garage_door_open_sensor_contact', 'on') and
is_state('binary_sensor.garage_door_closed_sensor_contact', 'off') %}
Closed
{% elif is_state('binary_sensor.garage_door_open_sensor_contact', 'off') and
is_state('binary_sensor.garage_door_closed_sensor_contact', 'on') %}
Open
{% elif is_state('binary_sensor.garage_door_open_sensor_contact', 'on') and
is_state('binary_sensor.garage_door_closed_sensor_contact', 'on') %}
Stuck
{% else %}
Error
{% endif %}