mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 23:46:03 +00:00
10_EnOcean: profil environmentApp modified
git-svn-id: https://svn.fhem.de/fhem/trunk@19612 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
12a19cd70a
commit
e834bd07fa
@ -10185,7 +10185,10 @@ sub EnOcean_Parse($$)
|
||||
$sunSouth = $sunSouth < 1000 ? $brightness : $sunSouth;
|
||||
$sunWest = $sunWest < 1000 ? $brightness : $sunWest;
|
||||
$sunEast = $sunEast < 1000 ? $brightness : $sunEast;
|
||||
push @event, "3:brightness:$sunMax" if ($sunMax > 999);
|
||||
if ($sunMax > 999) {
|
||||
push @event, "3:brightness:$sunMax";
|
||||
$brightness = $sunMax;
|
||||
}
|
||||
push @event, "3:hemisphere:" . ($db[0] & 4 ? "south" : "north");
|
||||
push @event, "3:sunWest:$sunWest";
|
||||
push @event, "3:sunSouth:$sunSouth";
|
||||
|
Loading…
x
Reference in New Issue
Block a user