1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-21 18:18:13 +00:00
Andrew Zaborowski c8ccb06f11 ct_clamp: Check sample() return value is not NaN (#921)
Don't try to update CT clamp's state with NaN values returned from the
underlaying sensor.  A single IO error in the sensor code will cause a
NaN to be returned and if we use that in CTClampSensor's floating point
maths both sample_sum_ and offset_ will become NaN and from there every
future calculation will use the NaN offset_ and return NaN too.
2019-12-17 12:08:37 +01:00
2019-11-01 11:50:36 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-10 11:09:35 +01:00
2018-09-25 10:30:45 +02:00
2019-05-08 15:37:18 +02:00
2019-12-04 13:11:53 +01:00
2019-05-01 20:37:55 +02:00
2019-12-07 18:28:55 +01:00
2019-10-20 17:56:57 +02:00
2019-12-04 13:11:53 +01:00
2019-12-07 18:28:55 +01:00
2019-02-14 13:49:22 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00

ESPHome Build Status Discord Chat GitHub release

ESPHome Logo

Documentation: https://esphome.io/

For issues, please go to the issue tracker.

For feature requests, please see feature requests.

Description
No description provided
Readme Multiple Licenses 270 MiB
Languages
C++ 70.5%
Python 29.2%
C 0.1%