2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 04:36:36 +00:00

41_OREGON.pm: Fixed type batteryPercent Forum #89120

git-svn-id: https://svn.fhem.de/fhem/trunk@16945 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
sidey79 2018-07-04 20:06:40 +00:00
parent 775179ee97
commit 9aa13e9bab
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: 41_Oregon: batterypercent typo, Forum #89120
- feature: 49_SSCam: HTTPS Support, buttons for refresh SSCamSTRM-devices
- changed: 14_Hideki: standard battery readings
- changed: 14_SD_WS: standard battery readings

View File

@ -1034,7 +1034,7 @@ OREGON_Parse($$)
##$def->{READINGS}{$sensor}{TIME} = $tm;
##$def->{READINGS}{$sensor}{VAL} = $i->{current};
##$def->{CHANGED}[$n++] = $sensor . ": " . $i->{current};;
} elsif ($i->{type} eq "batterPercent" || $i->{type} eq "batteryState") {
} elsif ($i->{type} eq "batteryPercent" || $i->{type} eq "batteryState") {
readingsBulkUpdate($def,$i->{type},$i->{current});
}
elsif ($i->{type} eq "pressure") {