ESPHome 2025.5.0
Loading...
Searching...
No Matches
switch.h
Go to the documentation of this file.
1#pragma once
2
5#include "esphome/core/log.h"
6
7namespace esphome {
8namespace opentherm {
9
11 protected:
12 void write_state(bool state) override;
13
14 public:
15 void setup() override;
16 void dump_config() override;
17};
18
19} // namespace opentherm
20} // namespace esphome
void write_state(bool state) override
Definition switch.cpp:8
Base class for all switches.
Definition switch.h:39
bool state
The current reported state of the binary sensor.
Definition switch.h:53
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7