mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
57_SSCal: contrib 1.1.14
git-svn-id: https://svn.fhem.de/fhem/trunk@21073 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b0eb51d825
commit
c812dc59b3
@ -48,6 +48,7 @@ eval "use FHEM::Meta;1" or my $modMetaAbsent = 1;
|
|||||||
|
|
||||||
# Versions History intern
|
# Versions History intern
|
||||||
my %SSCal_vNotesIntern = (
|
my %SSCal_vNotesIntern = (
|
||||||
|
"1.1.14" => "29.01.2020 ignore calendars of type ne \"Event\" for set calEventList ",
|
||||||
"1.1.13" => "20.01.2020 change save and read credentials routine ",
|
"1.1.13" => "20.01.2020 change save and read credentials routine ",
|
||||||
"1.1.12" => "19.01.2020 add attribute interval, automatic event fetch ",
|
"1.1.12" => "19.01.2020 add attribute interval, automatic event fetch ",
|
||||||
"1.1.11" => "18.01.2020 status information added: upcoming, alarmed, started, ended ",
|
"1.1.11" => "18.01.2020 status information added: upcoming, alarmed, started, ended ",
|
||||||
@ -432,7 +433,11 @@ sub SSCal_Set($@) {
|
|||||||
my $oids;
|
my $oids;
|
||||||
foreach (@ca) {
|
foreach (@ca) {
|
||||||
my $oid = $hash->{HELPER}{CALENDARS}{"$_"}{id};
|
my $oid = $hash->{HELPER}{CALENDARS}{"$_"}{id};
|
||||||
next if(!$oid);
|
next if(!$oid);
|
||||||
|
if ($hash->{HELPER}{CALENDARS}{"$_"}{type} ne "Event") {
|
||||||
|
Log3($name, 2, "$name - WARNING - The Calendar \"$_\" is not of type \"Event\" and will be ignored.");
|
||||||
|
next;
|
||||||
|
}
|
||||||
$oids .= "," if($oids);
|
$oids .= "," if($oids);
|
||||||
$oids .= '"'.$oid.'"';
|
$oids .= '"'.$oid.'"';
|
||||||
Log3($name, 2, "$name - WARNING - The Calendar \"$_\" seems to be unknown because its ID couldn't be found.") if(!$oid);
|
Log3($name, 2, "$name - WARNING - The Calendar \"$_\" seems to be unknown because its ID couldn't be found.") if(!$oid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user