{{refid=queries['ref']}} {{qchild = queries['feature']}} {{if qchild==null}} {{qchild=''}} {{end}}
{{device_name_full refid}} {{if qchild!=''}}  ({{device_prop qchild 'Name'}}) {{end}}
Advanced settings, changes could cause devices to not work as expected
{{if (device_version refid) < 4}} {{list=child_devices refid false true true true}} {{else}} {{list=child_devices refid false true false false}} {{end}} {{if qchild==''}}
{{end}} {{for child in list}} {{if (qchild==child.ref && qchild != '') || qchild==''}} {{if qchild==''}}
{{end}} {{if qchild==''}} {{end}} {{if qchild==''}}
{{end}}
{{ if (device_version child.ref) >= 4 }}Edit Controls{{ else }}Edit Status/Controls{{ end }}
Start
End
{{ if (device_version child.ref) >= 4 }}Label{{ else }}Status{{ end }}
Control Use
Row
Column
Col Span
{{if (device_version child.ref) >= 4}}
{{else}}
Control/Status
{{end}}
{{index=0}} {{row=0}} {{for vsp in child.vspairs_sorted}} {{if edit_pair_ref==child.ref && edit_pair_index==index}}
{{end}}
{{if vsp.pair_type==2}}
{{if edit_pair_ref==child.ref && edit_pair_index==index}}
{{else}} {{vsp.range_start}} {{end}}
{{if edit_pair_ref==child.ref && edit_pair_index==index}}
{{else}} {{vsp.range_end}} {{end}}
{{#status place holder}}
{{if edit_pair_ref==child.ref && edit_pair_index==index}} {{else}} {{control_use_string vsp.control_use}} {{end}}
{{else}}
{{if edit_pair_ref==child.ref && edit_pair_index==index}}
{{else}} {{vsp.value}} {{end}}
{{# range place holder}}
{{if edit_pair_ref==child.ref && edit_pair_index==index}}
{{else}} {{get_pair_string child.ref index}} {{end}}
{{if edit_pair_ref==child.ref && edit_pair_index==index}} {{else}} {{control_use_string vsp.control_use}} {{end}}
{{end}}
{{if edit_pair_ref==child.ref && edit_pair_index==index}}
{{else}} {{vsp.render__location.row}} {{end}}
{{if edit_pair_ref==child.ref && edit_pair_index==index}}
{{else}} {{vsp.render__location.column}} {{end}}
{{if edit_pair_ref==child.ref && edit_pair_index==index}}
{{else}} {{vsp.render__location.column_span}} {{end}}
{{if (device_version child.ref) >= 4}}
{{else}}
{{if edit_pair_ref==child.ref && edit_pair_index==index}}
{{else}} {{vsp.control_status}} {{end}}
{{end}}
{{if edit_pair_ref==child.ref}} {{if edit_pair_index==index}} {{end}} {{else}} {{if vsp.pair_type==2}} {{end}} {{end}}
{{if edit_pair_ref==child.ref && edit_pair_index==index}}
{{end}} {{index=index+1}} {{end}}
Edit Status/Graphics
Start
End
{{if (device_version child.ref) >= 4}}
Status
{{end}}
Graphic
{{~for cls in child.vgpairs_sorted~}} {{~if edit_vgpair_ref==child.ref && edit_pair_index==cls.index~}}
{{~end~}}
{{~if cls.is_range~}}
{{~if edit_vgpair_ref==child.ref && edit_pair_index==cls.index~}}
{{else}} {{~cls.range_start~}} {{~end~}}
{{if edit_vgpair_ref==child.ref && edit_pair_index==cls.index}}
{{else}} {{cls.range_end}} {{end}}
{{else}}
{{if edit_vgpair_ref==child.ref && edit_pair_index==cls.index}}
{{else}} {{cls.value}} {{end}}
{{end}} {{if (device_version child.ref) >= 4}}
{{if edit_vgpair_ref==child.ref && edit_pair_index==cls.index}}
{{else}} {{cls.label}} {{end}}
{{end}}
{{if edit_vgpair_ref==child.ref && edit_pair_index==cls.index}} {{if cls.graphic==''}} {{else}} {{end}} {{else}} {{if cls.graphic==''}} {{else}} {{end}} {{end}}
{{if edit_vgpair_ref==child.ref }} {{if edit_pair_index==cls.index}} {{end}} {{else}} {{if cls.is_range && ((device_version child.ref) >= 4)}} {{end}} {{end}}
{{if edit_vgpair_ref==child.ref && edit_pair_index==cls.index}}
{{end}} {{end}}
Advanced Information
ID
{{device_prop child.ref 'Ref'}}
Device Version
{{dv=deviceclass_by_ref child.ref}}{{dv.version}}
Value
{{dv=deviceclass_by_ref child.ref}}{{dv.hsdev_value}}
Status
{{status_text child.ref}}
Interface
{{device_prop child.ref 'Interface'}}
Device Type
{{device_type_formatted child.ref}}
Priority Order
{{device_priority_order child.ref}}
Relationship
{{device_relationship_formatted child.ref}}
Associated Devices
{{device_associated_devices_formatted child.ref}}

{{if qchild==''}}
{{end}} {{if qchild==''}}
{{end}} {{end}} {{end}} {{if qchild==''}}
{{end}}