Changes are not taking effect ESPHome Platform adc

Howdy,

There is an issue that filters are NOT being applied. I attempted to change the values, un/comment, reload build files, nothing changes. Watching the logs, the sending value is not being manipulated.

The pecuiliar thing is when first playing with this using the VCC pin before changing to A0 and GPIO17, the multiply values were sent, according to the logs, then reflect in the appropriate card.

What gives?

  • platform: adc
    pin: GPIO17
    name: Battery
    accuracy_decimals: 2
    samples: 5
    update_interval: 60s
    filters:
    • multiply: 2.8 ## for Li-ion 2S, max battery module voltage is 8.4V, low useful is 6V

Indent more under filters?


# Example configuration entry
- platform: adc
  # ...
  filters:
    - offset: 2.0
    - multiply: 1.2

Hi
It might help to show us the esphome log and a schematic of the setup. Perhaps its a problem with the voltage divider. If the cell is putting out 8.4v any mistake could damage the esp.