requestSetPoint method

Future<ThermostatSetPointReport> requestSetPoint(
  1. int setPointType
)

Implementation

Future<ThermostatSetPointReport> requestSetPoint(int setPointType) {
  return commandHandler!.request(ZwRequest(
      logger,
      id,
      buildSendDataRequest(id, [
        COMMAND_CLASS_THERMOSTAT_SETPOINT,
        THERMOSTAT_SETPOINT_GET,
        setPointType,
      ]),
      processResponse: (data) => updateSetPoint(data),
      resultKey: ThermostatSetPointReport));
}