def METHOD_NAME(self):
    """Get the device state.
    Returns:
        (enum 'HardwareObjectState'): Device state.
    """
    try:
        _state = self._bliss_obj.state.upper()
    except (AttributeError, KeyError):
        return self.STATES.UNKNOWN
    if _state in ("IN", "OUT"):
        if self.__saved_state == _state:
            _state = self.STATES.READY
        else:
            _state = self.STATES.BUSY
    else:
        try:
            self.SPECIFIC_STATES.__members__[_state].value[0]
        except KeyError:
            _state = self.STATES.__members__[_state]
    return _state