Add high pass filter option

There isn’t a high pass filter available for the esphome sensor component. Propose that one be added. Could be as simple as the example below.

Parameters:

  • time_constant
  • update_period
  • alpha = time_constant/(time_constant+update_period)

Difference Equation
output = alpha * ( previous_output + input - previous_input)

GitHub - esphome/feature-requests: ESPHome Feature Request Tracker.

See Feature Request Pinned post…
Feature Request Guidelines 📔.