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:
@@ -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: 32_withings: fixed database write for sleepstate: light
|
||||||
- feature: 98_WeekdayTimer: Allow flexible state values when delayed.
|
- feature: 98_WeekdayTimer: Allow flexible state values when delayed.
|
||||||
- feature: 89_FULLY: Several new commands. Now using JSON.
|
- feature: 89_FULLY: Several new commands. Now using JSON.
|
||||||
- change: 59_Weather: add forcast attributs to english commandref
|
- change: 59_Weather: add forcast attributs to english commandref
|
||||||
|
|||||||
@@ -4015,6 +4015,11 @@ sub withings_DbLog_splitFn($) {
|
|||||||
$reading = 'heartPulse';
|
$reading = 'heartPulse';
|
||||||
$unit = 'bpm';
|
$unit = 'bpm';
|
||||||
}
|
}
|
||||||
|
elsif($event =~ m/sleepstate/)
|
||||||
|
{
|
||||||
|
$reading = 'sleepstate';
|
||||||
|
$unit = '';
|
||||||
|
}
|
||||||
elsif($event =~ m/ecgQRS/)
|
elsif($event =~ m/ecgQRS/)
|
||||||
{
|
{
|
||||||
$reading = 'ecgQRS';
|
$reading = 'ecgQRS';
|
||||||
|
|||||||
Reference in New Issue
Block a user