ESPHome 2026.5.0b1
Loading...
Searching...
No Matches
restart_button.h
Go to the documentation of this file.
1#pragma once
2
4#include "../seeed_mr24hpc1.h"
5
7
8class RestartButton : public button::Button, public Parented<MR24HPC1Component> {
9 public:
10 RestartButton() = default;
11
12 protected:
13 void press_action() override;
14};
15
16} // namespace esphome::seeed_mr24hpc1
Helper class to easily give an object a parent of type T.
Definition helpers.h:1861
Base class for all buttons.
Definition button.h:25