mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
Print update interval for pulse counter (#816)
This commit is contained in:
parent
34d26a517d
commit
09d1846261
1 changed files with 1 additions and 0 deletions
|
@ -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, " 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, " 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);
|
ESP_LOGCONFIG(TAG, " Filtering pulses shorter than %u µs", this->storage_.filter_us);
|
||||||
|
LOG_UPDATE_INTERVAL(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PulseCounterSensor::update() {
|
void PulseCounterSensor::update() {
|
||||||
|
|
Loading…
Reference in a new issue