15 void setup()
override;
42 void play(Ts...
x)
override { this->parent_->air_calibration(); }
52 void play(Ts...
x)
override { this->parent_->water_calibration(); }
63 void play(Ts...
x)
override { this->parent_->new_i2c_address(this->new_address_.value(
x...)); }
sensor::Sensor * temperature_sensor_
float get_setup_priority() const override
void play(Ts... x) override
PMWCS3Component * parent_
This class simplifies creating components that periodically check a state.
void set_vwc_sensor(sensor::Sensor *vwc_sensor)
void dump_config() override
PMWCS3Component * parent_
void new_i2c_address(uint8_t newaddress)
PMWCS3Component * parent_
sensor::Sensor * vwc_sensor_
PMWCS3AirCalibrationAction(PMWCS3Component *parent)
sensor::Sensor * e25_sensor_
PMWCS3WaterCalibrationAction(PMWCS3Component *parent)
TEMPLATABLE_VALUE(int, new_address) void play(Ts... x) override
sensor::Sensor * ec_sensor_
void set_e25_sensor(sensor::Sensor *e25_sensor)
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
void play(Ts... x) override
PMWCS3NewI2cAddressAction(PMWCS3Component *parent)
Implementation of SPI Controller mode.
Base-class for all sensors.
void set_ec_sensor(sensor::Sensor *ec_sensor)
This Class provides the methods to read/write bytes from/to an i2c device.