'Return the state of the sensor.'

@property
def state(self):

    if (self._units in ('C', 'F')):
        return round(self._state, 1)
    elif isinstance(self._state, float):
        return round(self._state, 2)
    return self._state
