Add configuration flow abilites to the ld2410 component (#4434)

This commit is contained in:
Regev Brody
2023-08-16 02:31:18 +03:00
committed by Jesse Hills
parent 48e4cb5ae2
commit 63fa922547
35 changed files with 1621 additions and 327 deletions
@@ -0,0 +1,18 @@
#pragma once
#include "esphome/components/switch/switch.h"
#include "../ld2410.h"
namespace esphome {
namespace ld2410 {
class BluetoothSwitch : public switch_::Switch, public Parented<LD2410Component> {
public:
BluetoothSwitch() = default;
protected:
void write_state(bool state) override;
};
} // namespace ld2410
} // namespace esphome