ESPHome 2026.5.0b1
Loading...
Searching...
No Matches
opentherm_switch.h
Go to the documentation of this file.
1#pragma once
2
5#include "esphome/core/log.h"
6
7namespace esphome::opentherm {
8
10 protected:
11 void write_state(bool state) override;
12
13 public:
14 void setup() override;
15 void dump_config() override;
16};
17
18} // namespace esphome::opentherm
void write_state(bool state) override
Base class for all switches.
Definition switch.h:38
bool state
The current reported state of the binary sensor.
Definition switch.h:55