mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
31_Aurora.pm: fixed effect list for new api
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14962 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cd48741af2
commit
4a1968f60c
@ -283,7 +283,7 @@ Aurora_dispatch($$$;$)
|
||||
InternalTimer(gettimeofday()+1, "Aurora_GetUpdate", $hash, 0);
|
||||
}
|
||||
} elsif( $param->{type} eq 'effects' ) {
|
||||
$hash->{helper}{effects} = $json->{list};
|
||||
$hash->{helper}{effects} = $json->{effectsList};
|
||||
if( my $effect = $json->{select} ) {
|
||||
if( $effect ne $hash->{helper}{effect} ) { readingsSingleUpdate($hash, 'effect', $effect, 1 ) };
|
||||
$hash->{helper}{effect} = $effect;
|
||||
|
Loading…
x
Reference in New Issue
Block a user