mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
98_todoist: bugfix readingsBeginUpdate first, Forum: #1048705
git-svn-id: https://svn.fhem.de/fhem/trunk@21815 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
475ee875fd
commit
fffc5cf0ac
@ -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 98_todoist: Forum: #1048705
|
||||
- bugfix: 74_GardenaSmartDevice: setter from mower not visible
|
||||
- bugfix: 74_GardenaSmartDevice: fix watering_computer state
|
||||
- feature: 77_UWZ: add disableForIntervals, fix searchAreaID Fn and bugfix
|
||||
|
@ -17,7 +17,7 @@ eval "use Date::Parse;1" or $missingModule .= "Date::Parse ";
|
||||
|
||||
#######################
|
||||
# Global variables
|
||||
my $version = "1.3.7";
|
||||
my $version = "1.3.8";
|
||||
|
||||
my $srandUsed;
|
||||
|
||||
@ -1145,15 +1145,14 @@ sub todoist_GetTasksCallback($$$){
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
readingsEndUpdate( $hash, 1 );
|
||||
|
||||
## list Text for TTS, Text-Message...
|
||||
if ($param->{completed} != 1) {
|
||||
$lText="-" if ($lText eq "");
|
||||
readingsBulkUpdate($hash,"listText",$lText) if ($lText ne "");
|
||||
readingsSingleUpdate($hash,"listText",$lText,1) if ($lText ne "");
|
||||
}
|
||||
|
||||
|
||||
readingsEndUpdate( $hash, 1 );
|
||||
|
||||
RemoveInternalTimer($hash,"todoist_GetTasks");
|
||||
InternalTimer(gettimeofday()+$hash->{INTERVAL}, "todoist_GetTasks", $hash, 0); ## loop with Interval
|
||||
|
Loading…
Reference in New Issue
Block a user