12 void setup()
override;
void dump_config() override
void set_voltage_sensor(sensor::Sensor *voltage_sensor)
This class simplifies creating components that periodically check a state.
float get_setup_priority() const override
void set_battery_remaining_sensor(sensor::Sensor *battery_remaining_sensor)
sensor::Sensor * battery_remaining_sensor_
Implementation of SPI Controller mode.
sensor::Sensor * voltage_sensor_
Base-class for all sensors.
This Class provides the methods to read/write bytes from/to an i2c device.