Skip to content

Commit 160be44

Browse files
Merge pull request #13 from joezilla86/Docstring-updates
Docstring updates
2 parents 69acd0b + 1763ad8 commit 160be44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_funhouse/peripherals.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,21 +212,21 @@ def light(self):
212212
@property
213213
def temperature(self):
214214
"""
215-
Return the temperature
215+
Return the temperature in degrees Celsius
216216
"""
217217
return self._aht20.temperature
218218

219219
@property
220220
def relative_humidity(self):
221221
"""
222-
Return the relative humidity
222+
Return the relative humidity as a percentage (0 - 100)
223223
"""
224224
return self._aht20.relative_humidity
225225

226226
@property
227227
def pressure(self):
228228
"""
229-
Return the temperature
229+
Return the barometric pressure in hPa, or equivalently in mBar
230230
"""
231231
return self._dps310.pressure
232232

0 commit comments

Comments
 (0)