Lift 1

Lift 1 status

Current level: {{lift['lift_1']['floor']}}

Next stop: {% if lift['lift_1']['queue'] %} {{ lift['lift_1']['queue'][0] }} {% else %} None {% endif %}

{% if lift['lift_1']['status'] == "MOVING" and lift['lift_1']['going'] == "UP" %}

Status: GOING UP
{% elif lift['lift_1']['status'] == "MOVING" and lift['lift_1']['going'] == "DOWN" %}
Status: GOING DOWN
{% elif lift['lift_1']['status'] == "OPEN" %}
Status: OPENING
{% elif lift['lift_1']['status'] == "CLOSE" %}
Status: CLOSING
{% else %}
Status: Stand by
{% endif %}


Lift 2

Lift 2 status

Current level: {{lift['lift_2']['floor']}}

Next stop: {% if lift['lift_2']['queue'] %} {{ lift['lift_2']['queue'][0] }} {% else %} None {% endif %}

{% if lift['lift_2']['status'] == "MOVING" and lift['lift_2']['going'] == "UP" %}

Status: GOING UP
{% elif lift['lift_2']['status'] == "MOVING" and lift['lift_2']['going'] == "DOWN" %}
Status: GOING DOWN
{% elif lift['lift_2']['status'] == "OPEN" %}
Status: OPENING
{% elif lift['lift_2']['status'] == "CLOSE" %}
Status: CLOSING
{% else %}
Status: Stand by
{% endif %}