mqtt2.template: bugfix in wled panel

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@21315 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Beta-User 2020-02-29 16:37:13 +00:00
parent a39e0e87c4
commit 59079b089f

View File

@ -2687,8 +2687,8 @@ name:wled_controller
filter:TYPE=MQTT2_DEVICE filter:TYPE=MQTT2_DEVICE
desc:To control a WLED device, see https://github.com/Aircoookie/WLED/wiki for details). desc:To control a WLED device, see https://github.com/Aircoookie/WLED/wiki for details).
order:W_01 order:W_01
par:BASE_ID;BASE_ID typically is wled;{ AttrVal("DEVICE","readingList","") =~ m,([^:]+)[/][^/]+[/].*:, ? $1 : undef } par:BASE_ID;BASE_ID typically is wled;{ AttrVal("DEVICE","readingList","") =~ m,([^:]+)[/][^/]+[/][^/]+:, ? $1 : undef }
par:DEVNAME;Device name as configured;{ AttrVal("DEVICE","readingList","") =~ m,[^:]+[/]([^/]+)[/].*:, ? $1 : undef } par:DEVNAME;Device name as configured;{ AttrVal("DEVICE","readingList","") =~ m,[^:]+[/]([^/]+)[/][^/]+:, ? $1 : undef }
par:ICON;ICON as set, defaults to hue_filled_iris;{ AttrVal("DEVICE","icon","hue_filled_iris") } par:ICON;ICON as set, defaults to hue_filled_iris;{ AttrVal("DEVICE","icon","hue_filled_iris") }
attr DEVICE icon ICON attr DEVICE icon ICON
attr DEVICE setList\ attr DEVICE setList\