/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Niko Will, Onkel Andy * @copyright 2013 - 2020 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ /** * Mix your widgets in one popup * * @param {id=} unique id for this widge * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. * @param {unspecified[?]=} Any widget function. In total you can add 20 lines max. */ {% macro extpopup(id, line1, line2, line3, line4, line5, line6, line7, line8, line9, line10, line11, line12, line13, line14, line15, line16, line17, line18, line19, line20) %} {% import "@widgets/basic.html" as basic %} {% import "@widgets/device.html" as device %} {% import "@widgets/plot.html" as plot %} {% set elements = {} %} {% set class = '' %} {% for linenumber in 1..20 %} {% for key,type in _context['line' ~ linenumber] %} {% if type == 'uzsugraph' %} {% set class = ' incl_uzsugraph' %} {% endif %} {% endfor %} {% endfor %}
Close
{% endmacro %} /** * Lock motion sensor and/or light priority in one popup * * @param {id=} unique id for this widge * @param {item[?](bool)=} simple on/off lock item for light * @param {item[?](bool)=} simple on/off lock item for motion sensor * @param {item[?](num)=} knx force item, expected values are 0, 1 or 2 * @param {item[?](bool)=} on/off lock item for RGB LED sequencer */ {% macro locks(id, lock, bwm_lock, force, seq_lock) %} {% import "@widgets/basic.html" as basic %}
{% if (lock is not iterable and lock != '') or (lock is iterable and lock[0] != '') %} {% endif %} {% if (bwm_lock is not iterable and bwm_lock != '') or (bwm_lock is iterable and bwm_lock[0] != '') %} {% endif %} {% if (force is not iterable and force != '') or (force is iterable and force[0] != '') %} {% endif %} {% if (seq_lock is not iterable and seq_lock != '') or (seq_lock is iterable and seq_lock[0] != '') %} {% endif %}
{% endmacro %}