[lcn] Fix processing of logic function "all fulfilled" status message (#15649)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>pull/15656/head
parent
87bede36db
commit
47e649eae1
|
@ -101,6 +101,7 @@ public class LcnModuleLogicSubHandler extends AbstractLcnModuleSubHandler {
|
|||
state = LcnDefs.LogicOpStatus.OR;
|
||||
break;
|
||||
case "050":
|
||||
case "200": // not documented, but seen in the field and confirmed by the LCN hotline
|
||||
state = LcnDefs.LogicOpStatus.AND;
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -106,4 +106,11 @@ public class LcnModuleLogicSubHandlerTest extends AbstractTestLcnModuleSubHandle
|
|||
verify(handler).updateChannel(LcnChannelGroup.LOGIC, "3", AND);
|
||||
verify(handler).updateChannel(any(), any(), any());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testStatusSingleLogic3And200() {
|
||||
tryParseAllHandlers("=M000005S3200");
|
||||
verify(handler).updateChannel(LcnChannelGroup.LOGIC, "3", AND);
|
||||
verify(handler).updateChannel(any(), any(), any());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue