From 48296c46b93b2108c578d06bce3b657bf8a13d0a Mon Sep 17 00:00:00 2001 From: marvin78 Date: Tue, 4 May 2021 08:43:10 +0000 Subject: [PATCH] 98_todoist: added title="" option for addTask git-svn-id: https://svn.fhem.de/fhem/trunk@24380 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/98_todoist.pm | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 20efe9c3f..e859ebdd0 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. + - feature: 98_todoist: added title="" option for addTask - bugfix: 10_WS980: v1.3.0 - fix invalid values like 0xffff - bugfix: 73_AutoShuttersControl: roolback fix #1149463 - bugfix: 73_AutoShuttersControl: fix logic error in EventProcessing diff --git a/fhem/FHEM/98_todoist.pm b/fhem/FHEM/98_todoist.pm index e0c8fbe0a..c124033ea 100644 --- a/fhem/FHEM/98_todoist.pm +++ b/fhem/FHEM/98_todoist.pm @@ -17,7 +17,7 @@ eval "use Date::Parse;1" or $missingModule .= "Date::Parse "; ####################### # Global variables -my $version = "1.3.9"; +my $version = "1.3.10"; my $srandUsed; @@ -636,6 +636,8 @@ sub todoist_CreateTask($$) { my $title=encode_utf8($tmp[0]); + $title = $h->{"title"} if ($h->{"title"}); + my $check=1; # we can avoid duplicates in FHEM. There may still come duplicates coming from another app