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:
parent
97330b24d9
commit
760a1f4d0c
@ -240,6 +240,7 @@ FHT_Set($@)
|
|||||||
my $tmpList="on,off,".join(",",@list);
|
my $tmpList="on,off,".join(",",@list);
|
||||||
$cmdList =~ s/-temp/-temp:$tmpList/g; # FHEMWEB sugar
|
$cmdList =~ s/-temp/-temp:$tmpList/g; # FHEMWEB sugar
|
||||||
$cmdList =~ s/(-from.|-to.)/$1:time/g;
|
$cmdList =~ s/(-from.|-to.)/$1:time/g;
|
||||||
|
$cmdList .= " date:noArg time:noArg";
|
||||||
return "Unknown argument $cmd, choose one of $cmdList";
|
return "Unknown argument $cmd, choose one of $cmdList";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user