mirror of
https://github.com/esphome/esphome.git
synced 2026-10-02 17:30:22 +00:00
[core] Make the generated apply function a template argument of ApplyAction and ApplyCondition (#19655)
This commit is contained in:
@@ -53,8 +53,8 @@ esphome:
|
||||
# Regression test for esphome/esphome#16224: a light.turn_on action
|
||||
# nested inside on_response with capture_response: true puts
|
||||
# `std::string &` into the trigger's Ts..., which exposed a codegen
|
||||
# bug where the apply lambda's parameter list did not match the
|
||||
# ApplyFn signature.
|
||||
# bug where the generated function's parameter list did not match
|
||||
# the automation's arguments.
|
||||
- light.turn_on:
|
||||
id: test_regression_light
|
||||
brightness: 100%
|
||||
|
||||
Reference in New Issue
Block a user