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)