code: async def async_get_state(self, field: str) -> dict:
          
          session = self.session.get
          url = self.api_url + field
          response_dict = await async_request(session, url)
          return response_dict
docs: Get state of object in deCONZ.
  
          Field is a string representing an API endpoint or lower
          e.g. field='/lights'.
          See Dresden Elektroniks REST API documentation for details:
          http://dresden-elektronik.github.io/deconz-rest-doc/rest/