diff --git a/custom_components/airthings_wave/sensor.py b/custom_components/airthings_wave/sensor.py index 6785e06..a4c9427 100644 --- a/custom_components/airthings_wave/sensor.py +++ b/custom_components/airthings_wave/sensor.py @@ -265,7 +265,7 @@ def name(self): return self._name @property - def state(self): + def native_value(self): """Return the state of the device.""" return self._state @@ -280,7 +280,7 @@ def device_class(self): return self._sensor_specifics.device_class @property - def unit_of_measurement(self): + def native_unit_of_measurement(self): """Return the unit the value is expressed in.""" return self._sensor_specifics.unit