@seamapi/http - v1.70.0
    Preparing search index...

    Class SeamHttpThermostatsSchedules

    Index

    Constructors

    Properties

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

    Methods

    • Parameters

      • Optionalparameters: {
            climate_preset_key: string;
            device_id: string;
            ends_at: string;
            is_override_allowed?: boolean;
            max_override_period_minutes?: null | number;
            name?: string;
            starts_at: string;
        }
        • climate_preset_key: string

          Key of the climate preset to use for the new thermostat schedule.

        • device_id: string

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

        • ends_at: string

          Date and time at which the new thermostat schedule ends, in ISO 8601 format.

        • Optionalis_override_allowed?: boolean

          Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the new schedule is active. See also Specifying Manual Override Permissions.

        • Optionalmax_override_period_minutes?: null | number

          Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also Specifying Manual Override Permissions.

        • Optionalname?: string

          Name of the thermostat schedule.

        • starts_at: string

          Date and time at which the new thermostat schedule starts, in ISO 8601 format.

      • options: ThermostatsSchedulesCreateOptions = {}

      Returns ThermostatsSchedulesCreateRequest

    • Parameters

      • Optionalparameters: {
            climate_preset_key?: string;
            ends_at?: string;
            is_override_allowed?: boolean;
            max_override_period_minutes?: null | number;
            name?: string;
            starts_at?: string;
            thermostat_schedule_id: string;
        }
        • Optionalclimate_preset_key?: string

          Key of the climate preset to use for the thermostat schedule.

        • Optionalends_at?: string

          Date and time at which the thermostat schedule ends, in ISO 8601 format.

        • Optionalis_override_allowed?: boolean

          Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the schedule is active. See also Specifying Manual Override Permissions.

        • Optionalmax_override_period_minutes?: null | number

          Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also Specifying Manual Override Permissions.

        • Optionalname?: string

          Name of the thermostat schedule.

        • Optionalstarts_at?: string

          Date and time at which the thermostat schedule starts, in ISO 8601 format.

        • thermostat_schedule_id: string

          ID of the thermostat schedule that you want to update.

      • options: ThermostatsSchedulesUpdateOptions = {}

      Returns ThermostatsSchedulesUpdateRequest

    • Parameters

      • clientSessionToken: string

      Returns Promise<void>