Function setTargetTemperature

  • Sends a command to set the target temperature (degree celsius) of a device.

    Parameters

    • jwtToken: string

      The JWT token for authentication.

    • macAddress: string

      The MAC address of the device.

    • temperature: number

      The desired target temperature (degree celsius).

    Returns Promise<AxiosResponse<any, any>>

    • A promise that resolves to the command response.