mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
Modified Usage string, 01_FHEMWEB.pm needs a certain syntax
git-svn-id: https://svn.fhem.de/fhem/trunk@409 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6cbda54678
commit
213c349f07
@ -146,7 +146,7 @@ EMWZ_Set($@)
|
|||||||
$v *= 10; # Make display and input the same
|
$v *= 10; # Make display and input the same
|
||||||
$msg = sprintf("79%02x3102%02x%02x", $d-1, $v%256, int($v/256));
|
$msg = sprintf("79%02x3102%02x%02x", $d-1, $v%256, int($v/256));
|
||||||
} else {
|
} else {
|
||||||
return $u;
|
return "Unknown argument $a[1], choose one of price alarm rperkw";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ EMGZ_Set($@)
|
|||||||
$v *= 10000; # Make display and input the same
|
$v *= 10000; # Make display and input the same
|
||||||
$msg = sprintf("79%02x2f02%02x%02x", $d-1, $v%256, int($v/256));
|
$msg = sprintf("79%02x2f02%02x%02x", $d-1, $v%256, int($v/256));
|
||||||
} else {
|
} else {
|
||||||
return $u;
|
return "Unknown argument $a[1], choose one of price";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user