Juice

An IOT hub

{% for device in network %}
{{ device.id }}{% if not device.locked %}{% else %}{% endif %}
{{ device.description }}{% if not device.locked %}{% endif %}
{{ device.location }}{% if not device.locked %}{% endif %}
{{ device.ip_address }}{% if not device.locked %}{% endif %}
{% for sub_dev in device.sub_devices %}
{{ sub_dev.id }}
{{ sub_dev.description }}{% if not device.locked %}{% endif %}
{% endfor %}
{% endfor %}