Skip to content

Commit 8702ee3

Browse files
Fix docstring of temperature function.
1 parent 4b74086 commit 8702ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_sht31d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def _data(self):
116116

117117
@property
118118
def temperature(self):
119-
"""The measured relative humidity in percent."""
119+
"""The measured temperature in degrees celsius."""
120120
raw_temperature, _ = self._data()
121121
return -45 + (175 * (raw_temperature / 65535))
122122

0 commit comments

Comments
 (0)