Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions adafruit_funhouse/peripherals.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,21 +212,21 @@ def light(self):
@property
def temperature(self):
"""
Return the temperature
Return the temperature in degrees Celsius
"""
return self._aht20.temperature

@property
def relative_humidity(self):
"""
Return the relative humidity
Return the relative humidity as a percentage (0 - 100)
"""
return self._aht20.relative_humidity

@property
def pressure(self):
"""
Return the temperature
Return the barometric pressure in hPa, or equivalently in mBar
"""
return self._dps310.pressure

Expand Down