mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
fixed warning
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5457 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
31bf293169
commit
7300478e33
@ -750,9 +750,10 @@ HUEDevice_Parse($$)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
$on = 0;
|
||||||
$s = 'off';
|
$s = 'off';
|
||||||
$percent = 0;
|
$percent = 0;
|
||||||
if( defined($on) && $on != $hash->{helper}{on} ) {readingsBulkUpdate($hash,"onoff",0);}
|
if( $on != $hash->{helper}{on} ) {readingsBulkUpdate($hash,"onoff",0);}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( $percent != $hash->{helper}{percent} ) {readingsBulkUpdate($hash,"level", $percent . ' %');}
|
if( $percent != $hash->{helper}{percent} ) {readingsBulkUpdate($hash,"level", $percent . ' %');}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user