diff --git a/fhem/FHEM/57_CalDav.pm b/fhem/FHEM/57_CalDav.pm index fe1abf98f..e471e8a55 100644 --- a/fhem/FHEM/57_CalDav.pm +++ b/fhem/FHEM/57_CalDav.pm @@ -46,7 +46,9 @@ sub CalDav_Process($$$) { my $name = $hash->{NAME}; my $url = $hash->{URL}; my $options = $hash->{OPTIONS}; - + + return "Maybe this is the wrong way to use your calendar. Try 57_Calendar.pm instead." unless $data; + my $d = XML::LibXML->load_xml(string => $data); foreach my $r ($d->findnodes('/d:multistatus/d:response/d:href')) {