mirror of
https://github.com/esphome/esphome.git
synced 2026-10-06 10:56:43 +00:00
[core] Migrate entities to use lazy callbacks (#12580)
This commit is contained in:
@@ -44,7 +44,7 @@ class Text : public EntityBase {
|
||||
*/
|
||||
virtual void control(const std::string &value) = 0;
|
||||
|
||||
CallbackManager<void(const std::string &)> state_callback_;
|
||||
LazyCallbackManager<void(const std::string &)> state_callback_;
|
||||
};
|
||||
|
||||
} // namespace text
|
||||
|
||||
Reference in New Issue
Block a user