custom_components/aquaariston/sensor.py
def unit_of_measurement(self):
        """Return the units of measurement."""
        if self._sensor_type == PARAM_TEMPERATURE_MODE:
            return None
        try:
            return self._api.sensor_values[self._sensor_type][UNITS]
        except KeyError:
            return None
Return the units of measurement.
Return the units of measurement.
Return the units of measurement .
def unit_of_measurement(self):
        if self._sensor_type == PARAM_TEMPERATURE_MODE:
            return None
        try:
            return self._api.sensor_values[self._sensor_type][UNITS]
        except KeyError:
            return None
def unit_of_measurement ( self ) : if self . _sensor_type == PARAM_TEMPERATURE_MODE : return None try : return self . _api . sensor_values [ self . _sensor_type ] [ UNITS ] except KeyError : return None
Return the units of measurement.
Return the units of measurement .
"""Return the units of measurement."""
self