@property
def state(self):
    'The current state, eg. value, of this sensor.'
    return self._state
The current state, eg. value, of this sensor.
@property
def state(self):
    
    return self._state