Skip to content

Commit c2d788d

Browse files
committed
ci: Generate code
1 parent fe37739 commit c2d788d

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

src/route-types.ts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5000,6 +5000,47 @@ export type Routes = {
50005000
ok: boolean
50015001
}
50025002
}
5003+
"/thermostats/activate_climate_preset": {
5004+
route: "/thermostats/activate_climate_preset"
5005+
method: "POST"
5006+
queryParams: {}
5007+
jsonBody: {
5008+
/** ID of the desired thermostat device. */
5009+
device_id: string
5010+
/** Climate preset key of the desired climate preset. */
5011+
climate_preset_key: string
5012+
}
5013+
commonParams: {}
5014+
formData: {}
5015+
jsonResponse: {
5016+
action_attempt:
5017+
| {
5018+
status: "success"
5019+
action_type: string
5020+
action_attempt_id: string
5021+
result?: any
5022+
error: null
5023+
}
5024+
| {
5025+
status: "pending"
5026+
action_type: string
5027+
action_attempt_id: string
5028+
result: null
5029+
error: null
5030+
}
5031+
| {
5032+
status: "error"
5033+
action_type: string
5034+
action_attempt_id: string
5035+
result: null
5036+
error: {
5037+
type: string
5038+
message: string
5039+
}
5040+
}
5041+
ok: boolean
5042+
}
5043+
}
50035044
"/thermostats/cool": {
50045045
route: "/thermostats/cool"
50055046
method: "GET" | "POST"

0 commit comments

Comments
 (0)