mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
31_HUEDevice.pm: temporary test. see forum: https://forum.fhem.de/index.php/topic,11020.msg497825.html#msg497825
git-svn-id: https://svn.fhem.de/fhem/trunk@12243 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4060800b2f
commit
8e992e3fa0
@ -378,7 +378,9 @@ HUEDevice_SetParam($$@)
|
||||
|
||||
if($cmd eq 'on') {
|
||||
$obj->{'on'} = JSON::true;
|
||||
$obj->{'bri'} = 254 if( $name && ReadingsVal($name,"bri","0") eq 0 && AttrVal($name, 'subType', 'dimmer') ne 'switch' );
|
||||
# temporary disablea for everything. hast do be disabled for groups.
|
||||
# see https://forum.fhem.de/index.php/topic,11020.msg497825.html#msg497825
|
||||
#$obj->{'bri'} = 254 if( $name && ReadingsVal($name,"bri","0") eq 0 && AttrVal($name, 'subType', 'dimmer') ne 'switch' );
|
||||
$obj->{'transitiontime'} = $value * 10 if( defined($value) );
|
||||
|
||||
} elsif($cmd eq 'off') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user