Device-Widgets

device.blind device.codepad device.dimmer device.rtr device.shutter


device.dimmer

Standard dimmer with switching and dimming function

Parameters
{{device.dimmer(id, txt, item_switch, item_value, min, max, step) }}
id
unique id for this widget
txt
name of the dimmer
item_switch
a item for switching
item_value
a item for dimming
min
the minimum value if the slider is moved to total left (optional, default 0)
max
the maximum value if the slider is moved to total right (optional, default 255)
step
step between two values (optional, default 5)
Example
{{ device.dimmer('dimmer1', 'Dimmer', 'bath.light.switch', 'bath.light.value') }}

Dimmer

Widgets

Design

Misc