From 4dd8b67a7ba3463415ab2b7cc9bf70a6d6199f65 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Tue, 15 Jan 2019 20:30:37 +0100 Subject: [PATCH] Improve pule counter filter docs --- esphomeyaml/components/sensor/pulse_counter.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esphomeyaml/components/sensor/pulse_counter.rst b/esphomeyaml/components/sensor/pulse_counter.rst index a16a83306..18c1cf0c8 100644 --- a/esphomeyaml/components/sensor/pulse_counter.rst +++ b/esphomeyaml/components/sensor/pulse_counter.rst @@ -42,6 +42,8 @@ Configuration variables: - **internal_filter** (*Optional*, :ref:`config-time`): If a pulse shorter than this time is detected, it’s discarded and no pulse is counted. Defaults to ``13us``. On the ESP32, this value can not be higher than ``13us``, for the ESP8266 you can use larger intervals too. + If you enable this, set up the ``count_mode`` to increase on the falling edge, not leading edge. + - **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``. - **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.