[climate] Fix ControlAction trigger args with reference types (#16221)

This commit is contained in:
J. Nick Koston
2026-05-03 19:43:49 -05:00
committed by GitHub
parent af74b639cf
commit cf223674e5
3 changed files with 34 additions and 4 deletions
+15
View File
@@ -85,3 +85,18 @@ button:
- climate.control:
id: climate_test_thermostat
mode: "OFF"
# Exercise climate.control inside a trigger with non-empty Ts (number on_value
# passes float).
number:
- platform: template
id: climate_target_temp_number
optimistic: true
min_value: 16
max_value: 28
step: 0.5
on_value:
then:
- climate.control:
id: climate_test_thermostat
target_temperature_high: !lambda "return x;"