Class SeamHttpThermostatsSchedules

Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>

Methods

  • Parameters

    • Optionalbody: {
          climate_preset_key: string;
          device_id: string;
          ends_at: string;
          max_override_period_minutes?: number;
          name?: string;
          starts_at: string;
      }
      • climate_preset_key: string

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

      • device_id: string

        ID of the desired thermostat device.

      • ends_at: string

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

      • Optionalmax_override_period_minutes?: number

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

      • Optionalname?: string

        User-friendly name to identify the thermostat schedule.

      • starts_at: string

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

    Returns SeamHttpRequest<SetNonNullable<Required<{
        thermostat_schedule: {
            climate_preset_key: string;
            created_at: string;
            device_id: string;
            ends_at: string;
            errors?: any;
            max_override_period_minutes: number;
            name?: string;
            starts_at: string;
            thermostat_schedule_id: string;
        };
    }>, "thermostat_schedule">, "thermostat_schedule">

  • Parameters

    • Optionalbody: {
          thermostat_schedule_id: string;
      }
      • thermostat_schedule_id: string

        ID of the desired thermostat schedule.

    Returns SeamHttpRequest<void, undefined>

  • Parameters

    • Optionalbody: {
          thermostat_schedule_id: string;
      }
      • thermostat_schedule_id: string

        ID of the desired thermostat schedule.

    Returns SeamHttpRequest<SetNonNullable<Required<{
        thermostat_schedule: {
            climate_preset_key: string;
            created_at: string;
            device_id: string;
            ends_at: string;
            errors?: any;
            max_override_period_minutes: number;
            name?: string;
            starts_at: string;
            thermostat_schedule_id: string;
        };
    }>, "thermostat_schedule">, "thermostat_schedule">

  • Parameters

    • Optionalbody: {
          device_id: string;
          user_identifier_key?: string;
      }
      • device_id: string

        ID of the desired thermostat device.

      • Optionaluser_identifier_key?: string

        User identifier key by which to filter the list of returned thermostat schedules.

    Returns SeamHttpRequest<SetNonNullable<Required<{
        thermostat_schedules: {
            climate_preset_key: string;
            created_at: string;
            device_id: string;
            ends_at: string;
            errors?: any;
            max_override_period_minutes: number;
            name?: string;
            starts_at: string;
            thermostat_schedule_id: string;
        }[];
    }>, "thermostat_schedules">, "thermostat_schedules">

  • Parameters

    • Optionalbody: {
          climate_preset_key?: string;
          ends_at?: string;
          max_override_period_minutes?: 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.

      • Optionalmax_override_period_minutes?: number

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

      • Optionalname?: string

        User-friendly name to identify 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 desired thermostat schedule.

    Returns SeamHttpRequest<void, undefined>

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>