/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_device.html" %} {% block example %} Click on image of window to set opening angle (top is fully open, bottom is closed).
Example
{% filter trim|escape|nl2br %}{% verbatim %} {{ device.roofwindow('', 'Westside', 'bath.blind.move', 'bath.blind.stop', 'bath.blind.pos', 'bath.blind.stored', '0', '100') }} {{ device.roofwindow('', '', '', '', 'bath.blind.pos', '') }} {% endverbatim %}{% endfilter %} Use the slider to control the value
{{ basic.slider('', 'bath.blind.pos') }}
Full control
{{ device.roofwindow('', 'Westside', '', 'bath.blind.stop', 'bath.blind.pos', 'bath.blind.stored', '100', '0') }}
Simplest version
{{ device.roofwindow('', '', '', '', 'bath.blind.pos', '') }}
{% endblock %}