code: async def get_devices(self, covers_only: bool = True) -> list:
          
          from .device import MyQDevice
  
          _LOGGER.debug('Retrieving list of devices')
          devices_resp = await self._request('get', DEVICE_LIST_ENDPOINT)
          # print(json.dumps(devices_resp, indent=4))
  
          device_list = []
          if devices_resp is None:
              return device_list
  
          for device in devices_resp['Devices']:
              if not covers_only or \
                 device['MyQDeviceTypeName'] in SUPPORTED_DEVICE_TYPE_NAMES:
  
                  self._devices.append({
                      'device_id': device['MyQDeviceId'],
                      'device_info': device
                  })
                  myq_device = MyQDevice(
                      self._devices[-1], self._brand, self)
                  device_list.append(myq_device)
  
          # Store current device states.
          self._store_device_states(devices_resp.get('Devices', []))
  
          _LOGGER.debug('List of devices retrieved')
          return device_list
docs: Get a list of all devices associated with the account.