ESPHome 2026.5.1
Loading...
Searching...
No Matches
beeper.h
Go to the documentation of this file.
1#pragma once
2
4#include "../hon_climate.h"
5
6namespace esphome::haier {
7
8class BeeperSwitch : public switch_::Switch, public Parented<HonClimate> {
9 public:
10 BeeperSwitch() = default;
11
12 protected:
13 void write_state(bool state) override;
14};
15
16} // namespace esphome::haier
Helper class to easily give an object a parent of type T.
Definition helpers.h:1861
void write_state(bool state) override
Definition beeper.cpp:5
Base class for all switches.
Definition switch.h:38
bool state
The current reported state of the binary sensor.
Definition switch.h:55