1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-08 06:00:56 +00:00
Christian Taedcke b2d516c70a
ccs811: Skip reading data if it is not available (#2404)
On bootup the ccs811 reports that no data is available. No error flag
is set in that case. The current implementation ignores this, reads
and publishes the invalid data, which is 0xFDFD for both tvoc and co2
in my case.
This commit fixes this and does not read and publish invalid data.
2021-09-27 21:53:05 +02:00
..
2021-03-07 16:03:16 -03:00
2021-09-26 21:34:06 +13:00
2021-03-08 22:53:20 -03:00
2021-03-07 21:05:08 -03:00