ESPHome 2025.12.3
Loading...
Searching...
No Matches
engineering_mode_switch.h
Go to the documentation of this file.
1#pragma once
2
4#include "../ld2410.h"
5
6namespace esphome::ld2410 {
7
8class EngineeringModeSwitch : public switch_::Switch, public Parented<LD2410Component> {
9 public:
11
12 protected:
13 void write_state(bool state) override;
14};
15
16} // namespace esphome::ld2410
Helper class to easily give an object a parent of type T.
Definition helpers.h:932
Base class for all switches.
Definition switch.h:39
bool state
The current reported state of the binary sensor.
Definition switch.h:56