           STATO SENSORI

Sensore         Luogo       Stato 
----------------------------------------
{{ for sensor in data.sensors }}{{ sensor.sensor_description | f.strip_accents | string.truncate 16 "~" | string.pad_right 16 }}
{{- if sensor.location_type == 0 }}Serbato.{{ if sensor.location_number > 0}}{{sensor.location_number | string.pad_right 3}}{{else}}   {{end}}
  {{- else if sensor.location_type == 2 }}Pompa {{ if sensor.location_number > 0}}{{sensor.location_number | string.pad_right 5}}{{else}}     {{end}}
  {{- else}}Sito       {{end}}
{{- if sensor.enabled }} {{sensor.sensor_status | f.sensorstatus | string.truncate 12 "~"}}{{ else }} DISABILT.{{ end }}
{{ end }}
