mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 23:45:40 -07:00
Merge remote-tracking branch 'origin/template_text_no_heap_trigger' into integration
This commit is contained in:
@@ -47,7 +47,7 @@ void TemplateText::update() {
|
||||
}
|
||||
|
||||
void TemplateText::control(const std::string &value) {
|
||||
this->set_trigger_->trigger(value);
|
||||
this->set_trigger_.trigger(value);
|
||||
|
||||
if (this->optimistic_)
|
||||
this->publish_state(value);
|
||||
|
||||
Reference in New Issue
Block a user