mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
ADC: Turn verbose the debugging "got voltage" (#2863)
This commit is contained in:
parent
f72abc6f3d
commit
1bc757ad06
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