Clarification of the behavior of calibraty_linear filter (#1701)

This commit is contained in:
swifty99 2022-01-21 04:14:09 +01:00 committed by GitHub
parent b447d77ce7
commit b7b082cba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -196,7 +196,9 @@ the value the sensor shows.
The arguments are a list of data points, each in the form ``MEASURED -> TRUTH``. ESPHome will
then fit a linear equation to the values (using least squares). So you need to supply at least
two values.
two values. If more than two values are given a linear solution will be calculated and may not
represent each value exactly. It is recommended to use the filter calibrate linear only if two data
points are sufficient.
.. _sensor-calibrate_polynomial: