mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
31_LightScene.pm: handle hue subTypes extcolordimmer and ctcolordimmer
git-svn-id: https://svn.fhem.de/fhem/trunk@7289 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ffb8eddd1d
commit
5d599d4833
@ -487,7 +487,7 @@ LightScene_SaveDevice($$)
|
||||
$state = Value($d);
|
||||
} elsif( $subtype eq "dimmer" ) {
|
||||
$state = "bri ". ReadingsVal($d,'bri',"0");
|
||||
} elsif( $subtype eq "colordimmer" ) {
|
||||
} elsif( $subtype =~ m/color|ct/ ) {
|
||||
if( ReadingsVal($d,"colormode","") eq "ct" ) {
|
||||
ReadingsVal($d,"ct","") =~ m/(\d+) .*/;
|
||||
$state = "bri ". ReadingsVal($d,'bri',"0") ." : ct ". $1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user