custom_components/aquaariston/sensor.py
def available(self):
        """Return True if entity is available."""
        if self._sensor_type == PARAM_TEMPERATURE_MODE:
            return self._api.available
        return self._api.available \
            and not self._api.sensor_values[self._sensor_type][VALUE] is None
Return True if entity is available.
Return True if entity is available.
Return True if entity is available .
def available(self):
        if self._sensor_type == PARAM_TEMPERATURE_MODE:
            return self._api.available
        return self._api.available \
            and not self._api.sensor_values[self._sensor_type][VALUE] is None
def available ( self ) : if self . _sensor_type == PARAM_TEMPERATURE_MODE : return self . _api . available return self . _api . available and not self . _api . sensor_values [ self . _sensor_type ] [ VALUE ] is None
Return True if entity is available.
Return True if entity is available .
"""Return True if entity is available."""
self