sensor:
platform: template
test_sensor_status:
friendly_name: “test_door”
value_template: >-
{% if is_state(“sensor.test_door_access_control”, “23”)%}
Closed
{% elif is_state(“sensor.test_door_access_control”, “22”)%}
Open
{% endif %}
this is what i have for a monoprice open close sensor but my yaml keeps saying
missed comma between flow collection entries at line 31, column 6:
{% if is_state("sensor.test_door_ …
^
what am i doing wrong