{% for sensor in sensors %}
{% if sensor.sensor_type().name == "FLOAT": %}
{% with sensor=sensor %}
{% include "float_sensor.html" %}
{% endwith %}
{% endif %}
{% if sensor.sensor_type().name == "BOOLEAN": %}
{% with sensor=sensor %}
{% include "boolean_sensor.html" %}
{% endwith %}
{% endif %}
{% endfor %}