Files
esphome-lsm6ds/esphome/components/ld2450/switch/multi_target_switch.h
T
2025-02-20 03:16:08 -06:00

19 lines
356 B
C++

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