basic.offset
Displays a button to shift offset
Parameters
{{ basic.offset(id, item, step, icon, text, type) }}
id
unique id for this widget (optional)
item
an item
step
step between two values; use positive numbers to increase, negative ones to decrease (optional, default 1)
icon
icon to show on the button (optional)
text
text printed on the button (optional)
type
valid types: 'micro', 'mini', 'midi', 'icon', 'text' (optional, default: mini)
Examples
Current value: ---
{{ basic.offset('', 'bath.rtr.set', '', '', '+1') }}
{{ basic.offset('', 'bath.rtr.set', -0.5, 'minus', '', 'micro') }}
Author: Martin Gleiss and others