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