mirror of
https://github.com/esphome/esphome.git
synced 2024-12-28 17:37:44 +01:00
ADC: Turn verbose the debugging "got voltage" (#2863)
This commit is contained in:
parent
f72abc6f3d
commit
1bc757ad06
@ -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 New Issue
Block a user