Update esphome/components/airthings_wave_radon/airthings_wave_radon.h

This commit is contained in:
Jesse Hills 2024-07-29 16:52:21 +12:00 committed by GitHub
parent 2f3916200f
commit 5fe07d5222
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,8 +19,8 @@ class AirthingsWaveRadon : public airthings_wave_base::AirthingsWaveBase {
void dump_config() override;
void set_radon(sensor::Sensor *radon) { radon_sensor_ = radon; }
void set_radon_long_term(sensor::Sensor *radon_long_term) { radon_long_term_sensor_ = radon_long_term; }
void set_radon(sensor::Sensor *radon) { this->radon_sensor_ = radon; }
void set_radon_long_term(sensor::Sensor *radon_long_term) { this->radon_long_term_sensor_ = radon_long_term; }
protected:
bool is_valid_radon_value_(uint16_t radon);