Skip to content

Commit 40d5609

Browse files
authored
Merge pull request #10 from WoefulDerelict/temperature_docstring_fix
Fix docstring of temperature function.
2 parents 4b74086 + 8702ee3 commit 40d5609

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)