diff --git a/fhem/CHANGED b/fhem/CHANGED
index 93b027824..e81f1716b 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: 57_Calendar: get ... uid ...
- feature 49_SSCAM: function "runPatrol" added that starts predefined
patrols of PTZ-cameras,
Reading "CamDetMotSc" added
diff --git a/fhem/FHEM/57_Calendar.pm b/fhem/FHEM/57_Calendar.pm
index 65dbdc602..3a9018bf9 100644
--- a/fhem/FHEM/57_Calendar.pm
+++ b/fhem/FHEM/57_Calendar.pm
@@ -1630,7 +1630,7 @@ sub Calendar_Get($@) {
}
- my @cmds2= qw/text full summary location description alarm start end debug/;
+ my @cmds2= qw/text full summary location description alarm start end uid debug/;
if($cmd ~~ @cmds2) {
return "argument is missing" if($#a < 2);
@@ -1692,6 +1692,7 @@ sub Calendar_Get($@) {
if(@events) {
foreach my $event (sort { $a->start() <=> $b->start() } @events) {
+ push @texts, $event->uid() if $cmd eq "uid";
push @texts, $event->asText() if $cmd eq "text";
push @texts, $event->asFull() if $cmd eq "full";
push @texts, $event->asDebug() if $cmd eq "debug";
@@ -2553,6 +2554,7 @@ sub CalendarAsHtml($;$) {
<format> | content |
+ uid | the UID of the event |
text | a user-friendly textual representation, best suited for display |
summary | the content of the summary field (subject, title) |
location | the content of the location field |
@@ -2930,6 +2932,7 @@ sub CalendarAsHtml($;$) {
<format> | Inhalt |
+ uid | UID des Termins |
text | Benutzer-/Monitorfreundliche Textausgabe. |
summary | Übersicht (Betreff, Titel) |
location | Ort |