mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 07:19:24 +00:00
31_HUEDevice.pm: don't greate rgb reading vor switch & dimmer devices
git-svn-id: https://svn.fhem.de/fhem/trunk@11355 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0ebe3d6919
commit
d8de18b49f
@ -1154,9 +1154,11 @@ HUEDevice_Parse($$)
|
||||
|
||||
readingsEndUpdate($hash,1);
|
||||
|
||||
if( defined($colormode) ) {
|
||||
my $rgb = CommandGet("","$name rgb");
|
||||
if( $rgb ne $hash->{helper}{rgb} ) { readingsSingleUpdate($hash,"rgb", $rgb,1); };
|
||||
$hash->{helper}{rgb} = $rgb;
|
||||
}
|
||||
|
||||
$hash->{helper}->{update_timeout} = -1;
|
||||
RemoveInternalTimer($hash);
|
||||
|
Loading…
Reference in New Issue
Block a user