<img src="/celltest/dev_png/V3.png" class="device [% class %]_[% name %]" devclass="[% class %]" devname="[% name %]" title="[% IF label %][% label %][% ELSE %][% name %][% END %]">
<img src="/celltest/dev_png/V3_v.png" class="device [% class %]_[% name %]_on" devclass="[% class %]" devname="[% name %]" title="[% IF label %][% label %][% ELSE %][% name %][% END %]" style="display:none;">
<img src="/celltest/dev_png/V3_h.png" class="device [% class %]_[% name %]_off" devclass="[% class %]" devname="[% name %]" title="[% IF label %][% label %][% ELSE %][% name %][% END %]" style="display:none;">
<br>
<label class="switch">
  <input class="[% class %]_[% name %]_control" type="checkbox" [% IF user_info.auth %]onchange="set_relay('[% name %]',this.checked)"[% ELSE %]disabled=disabled[% END %]>
  <span class="slider round"></span>
</label>