ESPHome 2026.5.0-dev
Loading...
Searching...
No Matches
automation.h
Go to the documentation of this file.
1#pragma once
3#include "safe_mode.h"
4
6
7template<typename... Ts> class MarkSuccessfulAction : public Action<Ts...>, public Parented<SafeModeComponent> {
8 public:
9 void play(const Ts &...x) override { this->parent_->mark_successful(); }
10};
11
12} // namespace esphome::safe_mode
Helper class to easily give an object a parent of type T.
Definition helpers.h:2013
void play(const Ts &...x) override
Definition automation.h:9
uint16_t x
Definition tt21100.cpp:5