2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

11_FHT.pm: add date and time to the FHEMWEB dropdown list (Forum #114017)

git-svn-id: https://svn.fhem.de/fhem/trunk@22720 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-09-03 18:47:47 +00:00
parent 97330b24d9
commit 760a1f4d0c

View File

@ -240,6 +240,7 @@ FHT_Set($@)
my $tmpList="on,off,".join(",",@list);
$cmdList =~ s/-temp/-temp:$tmpList/g; # FHEMWEB sugar
$cmdList =~ s/(-from.|-to.)/$1:time/g;
$cmdList .= " date:noArg time:noArg";
return "Unknown argument $cmd, choose one of $cmdList";
}