async function sendCurrentState(stateManager, gladysGatewayClient, deviceFeatureSelector) {
  logger.debug(`Gladys Gateway: Forwarding state to Alexa: ${deviceFeatureSelector}`);
  try {
    // if the event is a DEVICE.NEW_STATE event
    const gladysFeature = stateManager.get('deviceFeature', deviceFeatureSelector);
    const gladysDevice = stateManager.get('deviceById', gladysFeature.device_id);

    const device = syncDeviceConverter(gladysDevice);

    if (!device) {
      logger.debug(`Gladys Gateway: Not forwarding state, device feature doesnt seems handled.`);
      return;
    }

    const func = get(readValues, `${gladysFeature.category}.${gladysFeature.type}`);
    const mapping = get(mappings, `${gladysFeature.category}.capabilities.${gladysFeature.type}`);

    if (!func || !mapping) {
      logger.debug(`Gladys Gateway: Not forwarding state, device feature doesnt seems handled.`);
      return;
    }

    const now = new Date().toISOString();

    const properties = [
      {
        namespace: mapping.interface,
        name: get(mapping, 'properties.supported.0.name'),
        value: func(gladysFeature.last_value, gladysFeature),
        timeOfSample: now,
        uncertaintyInMilliseconds: 0,
      },
    ];

    const payload = {
      event: {
        header: {
          namespace: 'Alexa',
          name: 'ChangeReport',
          messageId: uuid.v4(),
          payloadVersion: '3',
        },
        endpoint: {
          endpointId: gladysDevice.selector,
        },
        payload: {
          change: {
            cause: {
              type: 'PHYSICAL_INTERACTION',
            },
            properties,
          },
        },
      },
      context: {
        properties,
      },
    };

    await gladysGatewayClient.alexaReportState(payload);
  } catch (e) {
    logger.warn(`Gladys Gateway: Unable to forward alexa reportState`);
    logger.warn(e);
  }
}
@description Send a current state to google.
@param {object} stateManager - The state manager.
@param {object} gladysGatewayClient - The gladysGatewayClient.
@param {string} deviceFeatureSelector - The selector of the device feature to send.
@example
sendCurrentState(stateManager, 'light');