2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 17:26:34 +00:00

webCmd changed from space to colon

git-svn-id: https://svn.fhem.de/fhem/trunk@1053 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-10-08 11:45:46 +00:00
parent a9bf57b6c0
commit da52dad94d

View File

@ -847,7 +847,7 @@ FW_showRoom()
if(!$FW_ss) {
pO "</td>";
if($cmdlist) {
foreach my $cmd (split(" ", $cmdlist)) {
foreach my $cmd (split(":", $cmdlist)) {
pH "cmd.$d=set $d $cmd$rf", ReplaceEventMap($d,$cmd,1), 1, "col3";
}
@ -1807,13 +1807,13 @@ FW_devState($$)
$txt = "<div id=\"$d\" align=\"center\" class=\"col2\">$txt</div>";
if($webCmd) {
my @a = split(" ", $webCmd);
my @a = split(":", $webCmd);
$link = "cmd.$d=set $d $a[0]";
$cmdlist = $webCmd;
} elsif($hasOnOff) {
$link = "cmd.$d=set $d ".($state eq "on" ? "off":"on");
$cmdlist = "on off";
$cmdlist = "on:off";
}