/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Wolfram v. Hülsen * @copyright 2021 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_device.html" %} {% block example %}
Examples
{% filter trim|escape|nl2br %}{% verbatim %} {{ basic.window ('', 'shutter', 'window.right', 'window.left') }} {{ basic.window ('', 'shutter', '', 'window.left', '', '', '#f00') }} {% endverbatim %}{% endfilter %}
Use slider to control the shutter and switches to simulate window status
{{ basic.slider('','bath.blind.pos') }} Left window:
{{ basic.stateswitch('', 'bath.light.switch', '', 0, '', '0') }} {{ basic.stateswitch('', 'bath.light.switch', '', 1, '', '1') }} {{ basic.stateswitch('', 'bath.light.switch', '', 2, '', '2') }}
   Right window:
{{ basic.stateswitch('', 'bath.light.multistate', '', 0, '', '0') }} {{ basic.stateswitch('', 'bath.light.multistate', '', 1, '', '1') }} {{ basic.stateswitch('', 'bath.light.multistate', '', 2, '', '2') }}

{{ device.window ('', 'Window Kitchen North', 'bath.blind.move', 'bath.blind.stop', 'bath.blind.pos', '', 'bath.light.multistate', 'bath.light.switch', 'icon') }}
{% endblock %}