11 #include <esp_gattc_api.h> 20 void setup()
override;
23 esp_ble_gattc_cb_param_t *param)
override;
std::unique_ptr< Am43Decoder > decoder_
const float DATA
For components that import data from directly connected sensors like DHT.
void gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_t gattc_if, esp_ble_gattc_cb_param_t *param) override
This class simplifies creating components that periodically check a state.
void set_battery(sensor::Sensor *battery)
uint8_t last_battery_update_
void dump_config() override
void set_illuminance(sensor::Sensor *illuminance)
sensor::Sensor * battery_
sensor::Sensor * illuminance_
Implementation of SPI Controller mode.
Base-class for all sensors.
std::unique_ptr< Am43Encoder > encoder_
float get_setup_priority() const override