Ask or search…
K
Links
Comment on page

Create Climate Setting Schedule Form

<CreateClimateSettingScheduleForm /> (Coming soon!)

The create climate setting schedule form component allows you to create a climate setting schedule.
<CreateClimateSettingScheduleForm deviceId={deviceId}/>
Set Default Climate Setting pane; when no default is set, this will be shown.
Select Device pane. When no device is selected, this wil be shown.
Name & Time Frame pane
Climate Setting pane

Props

Name
Type
Description
deviceId
string
Optional. The ID for the device for which the climate setting schedule will be created for. When set, it will skip the device selection pane.
onSuccess
function
Optional callback fired when a climate setting schedule is created. Signature:
(climateSettingSchedule: ClimateSettingSchedule) => void
onError
function
Optional callback triggered if an error occurs during the creation of a climate setting schedule. Signature:
(err: SeamError, params: UseCreateClimateSettingScheduleParams) => void
onBack
function
Optional callback fired when the Back chevron button is clicked. Signature: () => void
className
string
Optional class name to add to the rendered component's containing element.