Skip to content

Commit

Permalink
feat: Add nest display_name (#1183)
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot authored Oct 25, 2024
1 parent f423201 commit bfe5c21
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/seam/connect/models/devices/device-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export const device_metadata = z
nest_device_id: z.string(),
device_name: z.string(), // set by Google
custom_name: z.string(), // set by device owner
display_name: z.string().optional(),
}),

ecobee_metadata: z.object({
Expand Down
1 change: 1 addition & 0 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3826,6 +3826,7 @@ export default {
properties: {
custom_name: { type: 'string' },
device_name: { type: 'string' },
display_name: { type: 'string' },
nest_device_id: { type: 'string' },
},
required: [
Expand Down
14 changes: 14 additions & 0 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5851,6 +5851,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -10658,6 +10659,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -11443,6 +11445,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -12929,6 +12932,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -13543,6 +13547,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -14328,6 +14333,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -14942,6 +14948,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -17285,6 +17292,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -17899,6 +17907,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -22640,6 +22649,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -24955,6 +24965,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -25569,6 +25580,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -28041,6 +28053,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down Expand Up @@ -28657,6 +28670,7 @@ export interface Routes {
nest_device_id: string
device_name: string
custom_name: string
display_name?: string | undefined
}
| undefined
ecobee_metadata?:
Expand Down

0 comments on commit bfe5c21

Please sign in to comment.