mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 21:44:55 +01:00
Tiny fix in automation.h - unused return value removed (#6760)
This commit is contained in:
parent
9de67feccd
commit
ce6dc040da
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ template<typename... Ts> class Automation {
|
|||
public:
|
||||
explicit Automation(Trigger<Ts...> *trigger) : trigger_(trigger) { this->trigger_->set_automation_parent(this); }
|
||||
|
||||
Action<Ts...> *add_action(Action<Ts...> *action) { this->actions_.add_action(action); }
|
||||
void add_action(Action<Ts...> *action) { this->actions_.add_action(action); }
|
||||
void add_actions(const std::vector<Action<Ts...> *> &actions) { this->actions_.add_actions(actions); }
|
||||
|
||||
void stop() { this->actions_.stop(); }
|
||||
|
|
Loading…
Reference in a new issue