mirror of
https://github.com/esphome/esphome.git
synced 2025-11-19 16:25:50 +00:00
17 lines
326 B
C++
17 lines
326 B
C++
#pragma once
|
|
|
|
#include "esphome/components/switch/switch.h"
|
|
#include "../ld2450.h"
|
|
|
|
namespace esphome::ld2450 {
|
|
|
|
class BluetoothSwitch : public switch_::Switch, public Parented<LD2450Component> {
|
|
public:
|
|
BluetoothSwitch() = default;
|
|
|
|
protected:
|
|
void write_state(bool state) override;
|
|
};
|
|
|
|
} // namespace esphome::ld2450
|