Class SeamHttpThermostatsSimulate

Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>
ltsVersion: "1.0.0" = seamApiLtsVersion
ltsVersion: string = seamApiLtsVersion

Methods

  • Parameters

    • Optionalbody: {
          device_id: string;
          temperature_celsius?: number;
          temperature_fahrenheit?: number;
      }
      • device_id: string

        ID of the thermostat device that you want to simulate reaching a specified temperature.

      • Optionaltemperature_celsius?: number

        Temperature in °C that you want simulate the thermostat reaching. You must set temperature_celsius or temperature_fahrenheit.

      • Optionaltemperature_fahrenheit?: number

        Temperature in °F that you want simulate the thermostat reaching. You must set temperature_fahrenheit or temperature_celsius.

    Returns SeamHttpRequest<void, undefined>

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>