code: async def open(self) -> bool:
          
          _LOGGER.debug('%s: Sending open command', self.name)
          if not await self._set_state(1):
              return False
  
          # Do not allow update of this device's state for 5 seconds.
          self.next_allowed_update = datetime.utcnow() + timedelta(seconds=5)
  
          # Ensure state is open or opening
          if self.state not in (STATE_OPEN, STATE_OPENING):
              # Set state to opening
              self._update_state('4')
              self._device_json = self._device['device_info']
  
          _LOGGER.debug('%s: Open command send', self.name)
          return True
docs: Open the device.