The {{ pins[pin].name }} {% if pins[pin].state == true %} is currently on (turn off) {% else %} is currently off (turn on) {% endif %}