From fa3b4d7b958fa0a2d56c4fbe00bd3564c0dd38e9 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Thu, 16 Mar 2023 16:25:09 +1300 Subject: [PATCH] Fix default iir --- esphome/components/esp32_touch/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/esp32_touch/__init__.py b/esphome/components/esp32_touch/__init__.py index 415d7365e3..08ab9a9420 100644 --- a/esphome/components/esp32_touch/__init__.py +++ b/esphome/components/esp32_touch/__init__.py @@ -55,7 +55,7 @@ VOLTAGE_ATTENUATION = { def _default_iir_filter(config): if esp32.get_esp32_variant() == esp32.const.VARIANT_ESP32: if CONF_IIR_FILTER not in config: - config[CONF_IIR_FILTER] = "0ms" + config[CONF_IIR_FILTER] = 0 return config