From 4967f405513e055ca9df5cda04480c912b3911b1 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 26 Oct 2025 12:28:09 -0700 Subject: [PATCH] cleanup --- esphome/core/automation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/core/automation.h b/esphome/core/automation.h index 83f0941bac..5787373cbc 100644 --- a/esphome/core/automation.h +++ b/esphome/core/automation.h @@ -40,7 +40,7 @@ template class TemplatableValue { // For stateful lambdas (not convertible to function pointer): use std::function template - TemplatableValue(F f) requires std::invocable && !std::convertible_to : type_(LAMBDA) { + TemplatableValue(F f) requires std::invocable &&(!std::convertible_to) : type_(LAMBDA) { this->f_ = new std::function(std::move(f)); }