From 9aa13e9babaf1735fc24fea2a8bf6ba37f88dec7 Mon Sep 17 00:00:00 2001 From: sidey79 Date: Wed, 4 Jul 2018 20:06:40 +0000 Subject: [PATCH] 41_OREGON.pm: Fixed type batteryPercent Forum #89120 git-svn-id: https://svn.fhem.de/fhem/trunk@16945 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/41_OREGON.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 8b26dc7de..fde3a3f78 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -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 diff --git a/fhem/FHEM/41_OREGON.pm b/fhem/FHEM/41_OREGON.pm index 69e388fe4..d7aa0db03 100755 --- a/fhem/FHEM/41_OREGON.pm +++ b/fhem/FHEM/41_OREGON.pm @@ -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") {