Print update interval for pulse counter (#816)

This commit is contained in:
Otto Winter 2019-10-31 20:09:23 +01:00
parent 34d26a517d
commit 09d1846261
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E

View file

@ -149,6 +149,7 @@ void PulseCounterSensor::dump_config() {
ESP_LOGCONFIG(TAG, " Rising Edge: %s", EDGE_MODE_TO_STRING[this->storage_.rising_edge_mode]);
ESP_LOGCONFIG(TAG, " Falling Edge: %s", EDGE_MODE_TO_STRING[this->storage_.falling_edge_mode]);
ESP_LOGCONFIG(TAG, " Filtering pulses shorter than %u µs", this->storage_.filter_us);
LOG_UPDATE_INTERVAL(this);
}
void PulseCounterSensor::update() {