Class SeamHttpThermostatsDailyPrograms

Constructors

Properties

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

Methods

  • Parameters

    • Optionalparameters: {
          device_id: string;
          name: string;
          periods: {
              climate_preset_key: string;
              starts_at_time: string;
          }[];
      }
      • device_id: string

        ID of the thermostat device for which you want to create a daily program.

      • name: string

        Name of the thermostat daily program.

      • periods: {
            climate_preset_key: string;
            starts_at_time: string;
        }[]

        Array of thermostat daily program periods.

    • options: ThermostatsDailyProgramsCreateOptions = {}

    Returns ThermostatsDailyProgramsCreateRequest

  • Parameters

    • Optionalparameters: {
          name: string;
          periods: {
              climate_preset_key: string;
              starts_at_time: string;
          }[];
          thermostat_daily_program_id: string;
      }
      • name: string

        Name of the thermostat daily program that you want to update.

      • periods: {
            climate_preset_key: string;
            starts_at_time: string;
        }[]

        Array of thermostat daily program periods. The periods that you specify overwrite any existing periods for the daily program.

      • thermostat_daily_program_id: string

        ID of the thermostat daily program that you want to update.

    • options: ThermostatsDailyProgramsUpdateOptions = {}

    Returns ThermostatsDailyProgramsUpdateRequest

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>