ADC: Turn verbose the debugging "got voltage" (#2863)

This commit is contained in:
Carlos Garcia Saura 2021-12-06 07:56:53 +01:00 committed by Jesse Hills
parent f72abc6f3d
commit 1bc757ad06
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -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);
}