{% if each_device.device in ['TTN_DATA_STORAGE', 'MQTT_PAHO', 'PythonCode'] %}
{{form.num_channels.label(class_='control-label')}}
{{form.num_channels(class_='form-control', value=table_device_measurements.query.filter(table_device_measurements.device_id == each_device.unique_id).count(), **{'title': _('Number of measurements')})}}
{% endif %}