mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Fix default iir
This commit is contained in:
parent
7b1fa5b2fa
commit
fa3b4d7b95
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ VOLTAGE_ATTENUATION = {
|
||||||
def _default_iir_filter(config):
|
def _default_iir_filter(config):
|
||||||
if esp32.get_esp32_variant() == esp32.const.VARIANT_ESP32:
|
if esp32.get_esp32_variant() == esp32.const.VARIANT_ESP32:
|
||||||
if CONF_IIR_FILTER not in config:
|
if CONF_IIR_FILTER not in config:
|
||||||
config[CONF_IIR_FILTER] = "0ms"
|
config[CONF_IIR_FILTER] = 0
|
||||||
return config
|
return config
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue