docs: def get_device_state(self, device, id_override=None, type_override=None):
          """
          Get device state via online API.
  
          Args:
              device (WinkDevice): The device the change is being requested for.
              id_override (String, optional): A device ID used to override the
                  passed in device's ID. Used to make changes on sub-devices.
                  i.e. Outlet in a Powerstrip. The Parent device's ID.
              type_override (String, optional): Used to override the device type
                  when a device inherits from a device other than WinkDevice.
          Returns:
              response_json (Dict): The API's response in dictionary format
          """
          _LOGGER.info("Getting state via online API")
          object_id = id_override or device.object_id()
          object_type = type_override or device.object_type()
          url_string = "{}/{}s/{}".format(self.BASE_URL,
                                          object_type, object_id)
          arequest = requests.get(url_string, headers=API_HEADERS)
          response_json = arequest.json()
          _LOGGER.debug('%s', response_json)
          return response_json