[valve] Add tests for valve.control action field combinations (#16126)

This commit is contained in:
J. Nick Koston
2026-04-29 12:45:30 -05:00
committed by GitHub
parent 69a33d8ac0
commit 7fba57ce51
3 changed files with 155 additions and 0 deletions
@@ -442,6 +442,20 @@ valve:
state: CLOSED
stop_action:
- logger.log: stop_action
# Exercise valve.control with various field combinations so the
# ControlAction codegen paths get build coverage.
- valve.control:
id: template_valve
stop: true
- valve.control:
id: template_valve
position: 50%
- valve.control:
id: template_valve
state: OPEN
- valve.control:
id: template_valve
position: !lambda 'return 0.25f;'
optimistic: true
text: