mirror of
https://github.com/esphome/esphome.git
synced 2026-07-11 09:25:34 +00:00
a325df98da
Pass the global's declared C++ type as the lambda return type so TemplatableFn stores a direct function pointer instead of hitting the deprecated converting trampoline when the value expression deduces to a different type (e.g. an int literal or int-returning lambda assigned to a float global).