{% for device in network %}
{% endif %}
{% endfor %}
{{ device.id }}{% if not device.locked %}{% else %}{% endif %}
{{ device.description }}{% if not device.locked %}{% endif %}
{{ device.location }}{% if not device.locked %}{% endif %}
{% if device.type == 'RelayDevice' %}
{{ device.ip_address }}{% if not device.locked %}{% endif %}
{% elif device.type == 'LightStrip' %}
{{ device.ip_address }}{% if not device.locked %}{% endif %}
State
Red | ||
Green | ||
Blue | ||
Animation
{% for sub_device in device.sub_devices %}
{% if device.type == 'RelayDevice' %}
{% endfor %}
{{ sub_device.id }}
{{ sub_device.description }}{% if not device.locked %}{% endif %}
{% elif device.type == 'LightStrip' %}
{% endif %}