Files
esphome-lsm6ds/esphome/components/restart/button/restart_button.h
T
2026-03-15 15:13:34 -10:00

19 lines
345 B
C++

#pragma once
#include "esphome/components/button/button.h"
#include "esphome/core/component.h"
namespace esphome {
namespace restart {
class RestartButton final : public button::Button, public Component {
public:
void dump_config() override;
protected:
void press_action() override;
};
} // namespace restart
} // namespace esphome