mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
don't update reading for xy if unchanged
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2832 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a590c26131
commit
1f2974c494
@ -59,6 +59,7 @@ sub HUEDevice_Define($$)
|
||||
$hash->{fhem}{ct} = -1;
|
||||
$hash->{fhem}{hue} = -1;
|
||||
$hash->{fhem}{sat} = -1;
|
||||
$hash->{fhem}{xy} = '';
|
||||
|
||||
|
||||
CommandAttr(undef,$name.' webCmd rgb:toggle:on:off') if( !defined( AttrVal($hash->{NAME}, "webCmd", undef) ) );
|
||||
@ -490,6 +491,7 @@ HUEDevice_GetUpdate($)
|
||||
$hash->{fhem}{ct} = $ct;
|
||||
$hash->{fhem}{hue} = $hue;
|
||||
$hash->{fhem}{sat} = $sat;
|
||||
$hash->{fhem}{xy} = $xy;
|
||||
}
|
||||
|
||||
1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user