mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 11:26:39 +00:00
[select][fan] Use StringRef for on_value/on_preset_set triggers to avoid heap allocation (#13324)
This commit is contained in:
@@ -44,3 +44,4 @@ gpio_Flags = gpio_ns.enum("Flags", is_class=True)
|
||||
EntityCategory = esphome_ns.enum("EntityCategory")
|
||||
Parented = esphome_ns.class_("Parented")
|
||||
ESPTime = esphome_ns.struct("ESPTime")
|
||||
StringRef = esphome_ns.class_("StringRef")
|
||||
|
||||
Reference in New Issue
Block a user