mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
ADC: Turn verbose the debugging "got voltage" (#2863)
This commit is contained in:
parent
10e89a7dbb
commit
c84efe64d3
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ void ADCSensor::dump_config() {
|
|||
float ADCSensor::get_setup_priority() const { return setup_priority::DATA; }
|
||||
void ADCSensor::update() {
|
||||
float value_v = this->sample();
|
||||
ESP_LOGD(TAG, "'%s': Got voltage=%.4fV", this->get_name().c_str(), value_v);
|
||||
ESP_LOGV(TAG, "'%s': Got voltage=%.4fV", this->get_name().c_str(), value_v);
|
||||
this->publish_state(value_v);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue