diff --git a/bindings/python/iio.py b/bindings/python/iio.py index 5b03cf976..df27e399a 100644 --- a/bindings/python/iio.py +++ b/bindings/python/iio.py @@ -1325,6 +1325,10 @@ def _get_trigger(self): None, "Contains the configured trigger for this IIO device.\n\ttype=iio.Trigger", ) + hwmon = property( + lambda self: self._id[:5] == "hwmon", None, None, + "Contains True if the device is a hardware-monitoring device, False if it is a IIO device.\n\ttype=bool", + ) @property def context(self):