Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/lib/seam/connect/models/devices/device-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,17 @@ export const device_metadata = z
.describe(
`Whether the Omnitec lock has a connected gateway for remote operations.`,
),
timezone_raw_offset_ms: z
.number()
.describe(
`Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST.`,
),
time_zone: z
.string()
.optional()
.describe(
`IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment.`,
),
})
.describe(`Metadata for an Omnitec device.`),

Expand Down
12 changes: 12 additions & 0 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14227,12 +14227,24 @@ const openapi: OpenAPISpec = {
description: 'Lock name for an Omnitec device.',
type: 'string',
},
time_zone: {
description:
'IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment.',
type: 'string',
},
timezone_raw_offset_ms: {
description:
'Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST.',
format: 'float',
type: 'number',
},
},
required: [
'lock_id',
'lock_name',
'lock_mac',
'has_gateway',
'timezone_raw_offset_ms',
],
type: 'object',
},
Expand Down
68 changes: 68 additions & 0 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14502,6 +14502,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -20044,6 +20048,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -42693,6 +42701,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -44605,6 +44617,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -57223,6 +57239,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -58897,6 +58917,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -60764,6 +60788,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -62437,6 +62465,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -71279,6 +71311,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -72952,6 +72988,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -89627,6 +89667,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -97642,6 +97686,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -102989,6 +103037,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -104662,6 +104714,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -114389,6 +114445,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -116064,6 +116124,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down Expand Up @@ -119071,6 +119135,10 @@ export type Routes = {
lock_mac: string
/** Whether the Omnitec lock has a connected gateway for remote operations. */
has_gateway: boolean
/** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */
timezone_raw_offset_ms: number
/** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */
time_zone?: string | undefined
}
| undefined
/** Metadata for a tado° device. */
Expand Down
Loading