mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +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:
parent
775179ee97
commit
9aa13e9bab
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# 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
|
- feature: 49_SSCam: HTTPS Support, buttons for refresh SSCamSTRM-devices
|
||||||
- changed: 14_Hideki: standard battery readings
|
- changed: 14_Hideki: standard battery readings
|
||||||
- changed: 14_SD_WS: standard battery readings
|
- changed: 14_SD_WS: standard battery readings
|
||||||
|
@ -1034,7 +1034,7 @@ OREGON_Parse($$)
|
|||||||
##$def->{READINGS}{$sensor}{TIME} = $tm;
|
##$def->{READINGS}{$sensor}{TIME} = $tm;
|
||||||
##$def->{READINGS}{$sensor}{VAL} = $i->{current};
|
##$def->{READINGS}{$sensor}{VAL} = $i->{current};
|
||||||
##$def->{CHANGED}[$n++] = $sensor . ": " . $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});
|
readingsBulkUpdate($def,$i->{type},$i->{current});
|
||||||
}
|
}
|
||||||
elsif ($i->{type} eq "pressure") {
|
elsif ($i->{type} eq "pressure") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user