From 617f08158af2ee95858208691fb5eccc5b300c8f Mon Sep 17 00:00:00 2001 From: Rick Lambrechts Date: Tue, 17 Feb 2026 17:32:01 +0100 Subject: [PATCH] Fix current_operation value in OpenAIR Valve --- Open AIR Valve/Software/Open_AIR_Valve_1_DIS_V1.2.0.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open AIR Valve/Software/Open_AIR_Valve_1_DIS_V1.2.0.yaml b/Open AIR Valve/Software/Open_AIR_Valve_1_DIS_V1.2.0.yaml index 51b1d62..632e5c0 100644 --- a/Open AIR Valve/Software/Open_AIR_Valve_1_DIS_V1.2.0.yaml +++ b/Open AIR Valve/Software/Open_AIR_Valve_1_DIS_V1.2.0.yaml @@ -264,7 +264,7 @@ valve: id(my_stepper).set_target(525); id(last_cmd_pos) = 1.0f; id(air_valve).position = 1.0f; - id(air_valve).current_operation = VALVE_OPERATION_OPEN; + id(air_valve).current_operation = VALVE_OPERATION_OPENING; id(air_valve).publish_state(); close_action: @@ -272,7 +272,7 @@ valve: id(my_stepper).set_target(0); id(last_cmd_pos) = 0.0f; id(air_valve).position = 0.0f; - id(air_valve).current_operation = VALVE_OPERATION_CLOSED; + id(air_valve).current_operation = VALVE_OPERATION_CLOSING; id(air_valve).publish_state(); position_action: