/** * Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time. */ export type ThermostatDailyProgram = { /** * Date and time at which the thermostat daily program was created. */ created_at: string; /** * ID of the thermostat device on which the thermostat daily program is configured. */ device_id: string; /** * User-friendly name to identify the thermostat daily program. */ name: string | null; /** * Array of thermostat daily program periods. */ periods: Array<{ /** * Key of the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`. */ climate_preset_key: string; /** * Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */ starts_at_time: string; }>; /** * ID of the thermostat daily program. */ thermostat_daily_program_id: string; /** * ID of the workspace that contains the thermostat daily program. */ workspace_id: string; };