mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +00:00
Lint fixes
This commit is contained in:
parent
a676ef2983
commit
e681466729
@ -111,7 +111,8 @@ void SGP30Component::read_iaq_baseline(){
|
||||
});
|
||||
} else {
|
||||
if (!isnan(id(uptime_sensor_).state))
|
||||
ESP_LOGD(TAG, "Baseline reading not available for: %.0fs", (this->required_warm_up_time - id(uptime_sensor_).state));
|
||||
ESP_LOGD(TAG, "Baseline reading not available for: %.0fs", \
|
||||
(this->required_warm_up_time - id(uptime_sensor_).state));
|
||||
}
|
||||
}
|
||||
|
||||
@ -195,7 +196,8 @@ void SGP30Component::dump_config() {
|
||||
}
|
||||
} else {
|
||||
ESP_LOGCONFIG(TAG, " Serial number: %llu", this->serial_number_);
|
||||
ESP_LOGCONFIG(TAG, " Baseline: 0x%04X%s", this->baseline_, ((this->baseline_ != 0x0000) ? " (enabled)":" (disabled)"));
|
||||
ESP_LOGCONFIG(TAG, " Baseline: 0x%04X%s", this->baseline_, \
|
||||
((this->baseline_ != 0x0000) ? " (enabled)":" (disabled)"));
|
||||
ESP_LOGCONFIG(TAG, " Warm up time: %lds", this->required_warm_up_time);
|
||||
}
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user