mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
10_SOMFY: fix manual command also for timed blinds
git-svn-id: https://svn.fhem.de/fhem/trunk@26135 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
af08bb60ef
commit
cf43d71718
@ -93,7 +93,8 @@
|
||||
|
||||
# - BO code used for "lamellen" of blinds - considered stop fro remotes
|
||||
# - Correct match for long commands according to #msg1224029
|
||||
#
|
||||
|
||||
# - fix manual command also for timed blinds
|
||||
#
|
||||
###############################################################################
|
||||
#
|
||||
@ -971,7 +972,8 @@ sub SOMFY_InternalSet($@) {
|
||||
}
|
||||
|
||||
} elsif($cmd =~m/manual/) {
|
||||
$newState = $arg1;
|
||||
# $updateState = $arg1;
|
||||
$newState = $arg1;
|
||||
|
||||
}
|
||||
|
||||
@ -980,7 +982,8 @@ sub SOMFY_InternalSet($@) {
|
||||
if ( defined( $updateState )) {
|
||||
$updateState = minNum( 100, $updateState );
|
||||
}
|
||||
$newState = minNum( 100, $posRounded );
|
||||
# not sure why posrounded was used here $newState = minNum( 100, $posRounded );
|
||||
$newState = minNum( 100, $newState );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user