mirror of
https://github.com/esphome/esphome.git
synced 2026-10-06 10:56:43 +00:00
more fixes
This commit is contained in:
@@ -28,7 +28,7 @@ esphome:
|
||||
# Test C++ API: set_template() with stateless lambda (no captures)
|
||||
# NOTE: set_template() is not intended to be a public API, but we test it to ensure it doesn't break.
|
||||
- lambda: |-
|
||||
id(template_sens).set_template([]() -> esphome::optional<float> {
|
||||
id(template_sens).set_template([]() -> std::optional<float> {
|
||||
return 123.0f;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user