Add files via upload

This commit is contained in:
Byte009 2021-11-06 05:01:41 +01:00 committed by GitHub
parent a151d60ae3
commit 2aff73bb37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1373,6 +1373,10 @@ sub Set($@) {
my $cmdactiontime ; # enth?lt fahrtdauer f?r gew?nschte position
my $directionmsg; #enth?lt actionstesxt
# geforderte farhtrichtung ermitteln
if ($state < $zielposition) # fahrt runter ben?tigt
{
$cmdpos = "on";
@ -1389,6 +1393,13 @@ sub Set($@) {
$directionmsg ="runningUp";
}
if ($state == $zielposition) # keine fahrt benötigt
{
return;
}
my $endaction = time + $timetodrive;
SendCommand( $hash, $cmdpos );