ESPHome 2026.8.0b4
Loading...
Searching...
No Matches
automation.h
Go to the documentation of this file.
1#pragma once
2
4
5#if defined(USE_ESP32) && defined(USE_SENDSPIN_ARTWORK)
6
8#include "sendspin_image.h"
9
10namespace esphome::sendspin_ {
11
12template<typename... Ts>
13class SendspinImageTransitionFinishedAction final : public Action<Ts...>, public Parented<SendspinImageSlot> {
14 public:
15 void play(const Ts &...x) override { this->parent_->transition_finished(); }
16};
17
18} // namespace esphome::sendspin_
19
20#endif
Helper class to easily give an object a parent of type T.
Definition helpers.h:1907
uint16_t x
Definition tt21100.cpp:5