@@ -264,6 +264,8 @@ def normalize_signal_filters(entries):
264
264
)
265
265
)
266
266
267
+ LOGISTIC_MODE_OF_OPERATION = Schema (Or (0 , 1 ))
268
+
267
269
# CONTROL_BEHAVIOR = Schema(
268
270
# And(
269
271
# Use(lambda x: {} if x is None else x), # Convert to empty dict if None
@@ -450,11 +452,7 @@ def normalize_signal_filters(entries):
450
452
Use (lambda x : {} if x is None else x ), # Convert to empty dict if None
451
453
{
452
454
# Circuit condition
453
- Optional ("circuit_enable_disable" ): bool ,
454
- Optional ("circuit_condition" ): CONDITION ,
455
- # Logistic condition
456
- Optional ("connect_to_logistic_network" ): bool ,
457
- Optional ("logistic_condition" ): CONDITION ,
455
+ Optional ("circuit_mode_of_operation" ): LOGISTIC_MODE_OF_OPERATION ,
458
456
},
459
457
)
460
458
)
@@ -464,11 +462,7 @@ def normalize_signal_filters(entries):
464
462
Use (lambda x : {} if x is None else x ), # Convert to empty dict if None
465
463
{
466
464
# Circuit condition
467
- Optional ("circuit_enable_disable" ): bool ,
468
- Optional ("circuit_condition" ): CONDITION ,
469
- # Logistic condition
470
- Optional ("connect_to_logistic_network" ): bool ,
471
- Optional ("logistic_condition" ): CONDITION ,
465
+ Optional ("circuit_mode_of_operation" ): LOGISTIC_MODE_OF_OPERATION ,
472
466
},
473
467
)
474
468
)
0 commit comments