@property
def state(self):
    'Return the state of the device.'
    if (self._status.source == 'STANDBY'):
        return STATE_OFF
    return MAP_STATUS.get(self._status.play_status, STATE_UNAVAILABLE)
Return the state of the device.
@property
def state(self):
    
    if (self._status.source == 'STANDBY'):
        return STATE_OFF
    return MAP_STATUS.get(self._status.play_status, STATE_UNAVAILABLE)