9#include <esp_gattc_api.h>
21 esp_ble_gattc_cb_param_t *param)
override;
void dump_config() override
float get_setup_priority() const override
void write_state(bool state) override
void gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_t gattc_if, esp_ble_gattc_cb_param_t *param) override
Base class for all switches.
bool state
The current reported state of the binary sensor.
const float DATA
For components that import data from directly connected sensors like DHT.
Providing packet encoding functions for exchanging data with a remote host.