"Segmented Linear" Calibration for ESPHome
UPDATE (2023-08-19)
This article is no longer necessary as of Mat931's PR!
Now you can have the behavior of what I called "segmented linear" by specifying the "exact" method:
filters:
- calibrate_linear:
method: exact
datapoints:
...
victorchang.codes5 min read