mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Turn verbose a debug statement in bme280 (#2906)
This commit is contained in:
parent
31a61b598b
commit
da45923d05
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ void BME280Component::update() {
|
||||||
float pressure = this->read_pressure_(data, t_fine);
|
float pressure = this->read_pressure_(data, t_fine);
|
||||||
float humidity = this->read_humidity_(data, t_fine);
|
float humidity = this->read_humidity_(data, t_fine);
|
||||||
|
|
||||||
ESP_LOGD(TAG, "Got temperature=%.1f°C pressure=%.1fhPa humidity=%.1f%%", temperature, pressure, humidity);
|
ESP_LOGV(TAG, "Got temperature=%.1f°C pressure=%.1fhPa humidity=%.1f%%", temperature, pressure, humidity);
|
||||||
if (this->temperature_sensor_ != nullptr)
|
if (this->temperature_sensor_ != nullptr)
|
||||||
this->temperature_sensor_->publish_state(temperature);
|
this->temperature_sensor_->publish_state(temperature);
|
||||||
if (this->pressure_sensor_ != nullptr)
|
if (this->pressure_sensor_ != nullptr)
|
||||||
|
|
Loading…
Reference in a new issue