diff --git a/adafruit_ds18x20.py b/adafruit_ds18x20.py index 434ed60..35f01f6 100644 --- a/adafruit_ds18x20.py +++ b/adafruit_ds18x20.py @@ -155,3 +155,10 @@ def read_temperature(self) -> float: """Read the temperature. No polling of the conversion busy bit (assumes that the conversion has completed).""" return self._read_temp() + + @property + def address(self): + """The address of the device. Useful if there are multiple sensors on the bus. + + Note: this property is read only.""" + return self._address