mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
30_LIGHTIFY.pm: fixed my $var = ... if( ... );
git-svn-id: https://svn.fhem.de/fhem/trunk@23869 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d27540e6b8
commit
df9fcd4476
@ -934,7 +934,8 @@ LIGHTIFY_Parse($$)
|
||||
$json = LIGHTIFY_toJson($hash, $chash, $id, $reachable, $onoff, $dim, $ct, $r, $g, $b);
|
||||
|
||||
}
|
||||
my $changed = HUEDevice_Parse( $chash, $json ) if( $chash );
|
||||
my $changed;
|
||||
$changed = HUEDevice_Parse( $chash, $json ) if( $chash );
|
||||
if( $changed || $chash->{helper}{transitiontime} ) {
|
||||
RemoveInternalTimer($chash);
|
||||
InternalTimer(gettimeofday()+1, "HUEDevice_GetUpdate", $chash, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user