Skip to content

Commit 93ae0d2

Browse files
author
brentru
committed
added missing call to _update_data() within the eco2 property
1 parent bfc18d7 commit 93ae0d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_ccs811.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ def tvoc(self): # pylint: disable=invalid-name
158158
@property
159159
def eco2(self): # pylint: disable=invalid-name
160160
"""Equivalent Carbon Dioxide in parts per million. Clipped to 400 to 8192ppm."""
161+
self._update_data()
161162
return self._eco2
162163

163164
@property

0 commit comments

Comments
 (0)