Files
esphome-lsm6ds/esphome/components/ld2412/switch/engineering_mode_switch.h
T

17 lines
338 B
C++

#pragma once
#include "esphome/components/switch/switch.h"
#include "../ld2412.h"
namespace esphome::ld2412 {
class EngineeringModeSwitch : public switch_::Switch, public Parented<LD2412Component> {
public:
EngineeringModeSwitch() = default;
protected:
void write_state(bool state) override;
};
} // namespace esphome::ld2412