mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
Anather little fix
git-svn-id: https://svn.fhem.de/fhem/trunk@94 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
47254f10d3
commit
a2901ccd5d
@ -311,7 +311,8 @@ FHT_Parse($$)
|
|||||||
|
|
||||||
if($type eq "actuator") {
|
if($type eq "actuator") {
|
||||||
$val = sprintf("%02d%%", int(100*$val/255 + 0.5));
|
$val = sprintf("%02d%%", int(100*$val/255 + 0.5));
|
||||||
|
} elsif($type eq "lime-protection") {
|
||||||
|
$val = sprintf("(actuator: %02d%%)", int(100*$val/255 + 0.5));
|
||||||
} elsif($cde ge "140069" && $cde le "2f0069") { # Time specs
|
} elsif($cde ge "140069" && $cde le "2f0069") { # Time specs
|
||||||
Log 5, "FHT $def->{NAME} ($type: $val)";
|
Log 5, "FHT $def->{NAME} ($type: $val)";
|
||||||
return "" if($val == 144); # Empty, forget it
|
return "" if($val == 144); # Empty, forget it
|
||||||
|
Loading…
Reference in New Issue
Block a user