diff --git a/fhem/CHANGED b/fhem/CHANGED index 209bc7c50..c22376d36 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: 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 diff --git a/fhem/FHEM/32_withings.pm b/fhem/FHEM/32_withings.pm index 07afe1b04..cbc9a67e9 100644 --- a/fhem/FHEM/32_withings.pm +++ b/fhem/FHEM/32_withings.pm @@ -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';