Signed-off-by: Gregor Burghard <gburghard@gmx.de>pull/18603/head
parent
9c87d37ba1
commit
ef3b28c1c5
|
@ -76,10 +76,14 @@ public class A5_3F_7F_EltakoFSB extends _4BSMessage {
|
||||||
(Math.abs(current.intValue() - percentCommand.intValue()) * shutTime)
|
(Math.abs(current.intValue() - percentCommand.intValue()) * shutTime)
|
||||||
/ PercentType.HUNDRED.intValue());
|
/ PercentType.HUNDRED.intValue());
|
||||||
|
|
||||||
|
if (duration == 0) {
|
||||||
|
setData(ZERO, (byte) 0xFF, STOP, TEACHIN_BIT);
|
||||||
|
} else {
|
||||||
setData(ZERO, duration, direction, TEACHIN_BIT);
|
setData(ZERO, duration, direction, TEACHIN_BIT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} else if (command instanceof UpDownType upDownCommand) {
|
} else if (command instanceof UpDownType upDownCommand) {
|
||||||
if (upDownCommand == UpDownType.UP) {
|
if (upDownCommand == UpDownType.UP) {
|
||||||
|
|
Loading…
Reference in New Issue