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 eb7e6491df
commit 4dfd0d0bce

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";
}