'Return the state of the sensor.'

@property
def state(self):

    val = getattr(self.vehicle, self._attribute)
    if (self._attribute == 'odometer'):
        return round((val / 1000))
    return val
