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: