{% if obj.tagPoints[i].type in ('string','number', 'object') %}
Current
{% if obj.tagPoints[i].type in ('string', 'object') %}
{% else %}
{% endif %}
{% elif hasattr(obj.tagPoints[i],"data_source_widget") and obj.tagPoints[i].subtype == 'mpegts' and obj.tagPoints[i].data_source_widget %}
Regions
The regions property is a semicolon separated list, looking like "name=x,y,w,h;". To delete a region,
just delete it's entry in the regions box. A proper deletion feature coming soon.
{% else %}
Binary data tagpoint cannot be displayed.
{% if obj.tagPoints[i].subtype == 'mpegts' %}
If this is a video feed, you may need to set up Permissions on this device.
{% endif %}
{% endif %}
{% if not obj.tagPoints[i].subtype == 'mpegts' %}
{% if obj.tagPoints[i].active_claim.priority > 50.5 %}
Overridden: {{ obj.tagPoints[i].active_claim.name }}
{% else %}
{% if (not hasattr(obj.tagPoints[i],"writable")) or obj.tagPoints[i].writable %}
{% if obj.tagPoints[i].subtype == 'bool' or obj.tagPoints[i].subtype == 'boolean' %}
{% elif obj.tagPoints[i].subtype == 'tristate' %}
{% elif obj.tagPoints[i].subtype == 'trigger' %}
{% elif obj.tagPoints[i].subtype == 'color' %}
{% else %}
{% if obj.tagPoints[i].max==1 and obj.tagPoints[i].min==0 %}
{% endif %}
{% endif %}
{% else %}
{% if obj.tagPoints[i].type=='number' %}
{% if obj.tagPoints[i].subtype == 'bool' or obj.tagPoints[i].subtype == 'boolean' %}
{% else %}
{% if obj.tagPoints[i].max==1 and obj.tagPoints[i].min==0 %}
{% endif %}
{% endif %}
{% if obj.tagPoints[i].subtype == 'tristate' %}
{% endif %}
{% endif %}
{% endif %}
{% if devices.callable(obj.tagPoints[i].active_claim.value) %}
{% else %}
{% endif %}
{% endif %}
{% if obj.tagPoints[i].subtype == 'color' %}