13 void setup()
override;
void set_down_direction(binary_sensor::BinarySensor *down_direction)
void set_proximity_gain(uint8_t gain)
void set_gesture_gain(uint8_t gain)
bool gesture_right_started_
binary_sensor::BinarySensor * down_direction_
bool is_color_enabled_() const
bool gesture_left_started_
uint8_t gesture_led_drive_
uint8_t gesture_wait_time_
sensor::Sensor * blue_channel_
sensor::Sensor * red_channel_
void read_gesture_data_()
void set_up_direction(binary_sensor::BinarySensor *up_direction)
void set_red_channel(sensor::Sensor *red_channel)
void read_color_data_(uint8_t status)
void process_dataset_(int up, int down, int left, int right)
This class simplifies creating components that periodically check a state.
void set_right_direction(binary_sensor::BinarySensor *right_direction)
void dump_config() override
enum esphome::apds9960::APDS9960::ErrorCode NONE
void read_proximity_data_(uint8_t status)
void set_gesture_led_drive(uint8_t level)
void set_left_direction(binary_sensor::BinarySensor *left_direction)
bool gesture_down_started_
sensor::Sensor * clear_channel_
void report_gesture_(int gesture)
void set_blue_channel(sensor::Sensor *blue_channel)
binary_sensor::BinarySensor * right_direction_
float get_setup_priority() const override
void set_clear_channel(sensor::Sensor *clear_channel)
void set_led_drive(uint8_t level)
void set_green_channel(sensor::Sensor *green_channel)
Base class for all binary_sensor-type classes.
Base-class for all sensors.
void set_gesture_wait_time(uint8_t wait_time)
bool is_gesture_enabled_() const
binary_sensor::BinarySensor * up_direction_
bool is_proximity_enabled_() const
binary_sensor::BinarySensor * left_direction_
sensor::Sensor * proximity_
void set_ambient_gain(uint8_t gain)
sensor::Sensor * green_channel_
void set_proximity(sensor::Sensor *proximity)