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

32_withings: fixed database write for sleepstate: light

git-svn-id: https://svn.fhem.de/fhem/trunk@22993 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
moises 2020-10-20 08:22:30 +00:00
parent 4f981c65b0
commit 6ecd092f64
2 changed files with 6 additions and 0 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: 32_withings: fixed database write for sleepstate: light
- feature: 98_WeekdayTimer: Allow flexible state values when delayed.
- feature: 89_FULLY: Several new commands. Now using JSON.
- change: 59_Weather: add forcast attributs to english commandref

View File

@ -4015,6 +4015,11 @@ sub withings_DbLog_splitFn($) {
$reading = 'heartPulse';
$unit = 'bpm';
}
elsif($event =~ m/sleepstate/)
{
$reading = 'sleepstate';
$unit = '';
}
elsif($event =~ m/ecgQRS/)
{
$reading = 'ecgQRS';