2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

10_FBDECT.pm: add colorswitch fir groups (Forum #138740)

git-svn-id: https://svn.fhem.de/fhem/trunk@29026 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2024-07-15 07:19:08 +00:00
parent be329fbe52
commit c4ebb2edb4

View File

@ -111,7 +111,8 @@ FBDECT_SetHttp($@)
if($p =~ m/HANFUNUnit/ && $unittype eq "BLIND") {
$cmd{open} = $cmd{close} = $cmd{stop} = "noArg";
}
if($p =~ m/HANFUNUnit/ && $unittype eq "DIMMABLE_COLOR_BULB") {
if(($p =~ m/HANFUNUnit/ && $unittype eq "DIMMABLE_COLOR_BULB") ||
($p =~ m/colorswitch/ && $p =~ m/dimmer/)) { # 138740
$cmd{"color"} = "select,red,orange,yellow,lawngreen,green,turquoise,".
"cyan,azure,blue,violet,magenta,pink";
$cmd{"satindex"} = "slider,1,1,3,1";