basic.symbol
A symbol, with no writing to knx, only displayed when the value of item is equal to val. Symbols may be used in menus. If more than one item is given, they will be combined with mode ('or' / 'and').
{{basic.symbol(id, items, txt, pic, val, mode, color) }}
id
items
txt
pic
val
mode
color
{{ basic.symbol('s1', 'bath.light.switch') }}
{{ basic.symbol('s2', 'bath.light.switch', 'Light on', 'light_light.svg', '', '', 'icon1') }}
{{ basic.symbol('s3', 'bath.light.switch', 'Light off', 'light_light.svg', 0) }}
{{ basic.symbol('s4', 'bath.light.switch', '', 'light_light.svg', '', '', '#0b0') }}
{{ basic.symbol('s5', 'bath.light.switch', '', 'light_light.svg', '', '', '#fa3') }}
{{ basic.symbol('s6', ['bath.light.switch', 'bath.rtr.state']) }}
{{ basic.symbol('s7', ['bath.light.switch', 'bath.rtr.state'], '', '', 1, 'and', 'icon1') }}