Skip to content

feat: Add climate preset management #1221

feat: Add climate preset management

feat: Add climate preset management #1221

Triggered via pull request April 1, 2025 17:12
Status Failure
Total duration 11m 9s
Artifacts 1

check.yml

on: pull_request
Dependencies
24s
Dependencies
Matrix: lint
Matrix: test
Matrix: typecheck
Matrix: install
Smoke test
30s
Smoke test
Fit to window
Zoom out
Zoom in

Annotations

30 errors
Typecheck (Node.js v20): src/lib/util/devices.ts#L26
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }[]' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; created_at: string; workspace_id: string; properties: { model: { display_name: string; }; name?: string | undefined; manufacturer?: string | undefined; image_url?: string | undefined; imag...'.
Typecheck (Node.js v20): src/pages/api/devices/get.ts#L61
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }'.
Typecheck (Node.js v20): src/pages/api/devices/list.ts#L130
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }[]' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }[]'.
Typecheck (Node.js v20): src/pages/api/devices/update.ts#L52
Type 'boolean' is not assignable to type 'true'.
Typecheck (Node.js v20): src/pages/api/locks/get.ts#L60
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }'.
Typecheck (Node.js v20): src/pages/api/locks/get.ts#L60
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }'.
Typecheck (Node.js v20): src/pages/api/locks/list.ts#L47
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }[]' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }[]'.
Typecheck (Node.js v20): src/pages/api/locks/list.ts#L47
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }[]' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }[]'.
Typecheck (Node.js v20): src/pages/api/thermostats/heat_cool.ts#L129
Property 'is_cooling_available' does not exist on type '{ name: string; appearance: { name: string; }; online: boolean; model: { display_name: string; manufacturer_display_name: string; can_connect_accessory_keypad?: boolean | undefined; has_built_in_keypad?: boolean | undefined; offline_access_codes_supported?: boolean | undefined; online_access_codes_supported?: boolea...'. Did you mean 'is_heating_available'?
Typecheck (Node.js v20): src/pages/api/thermostats/list.ts#L25
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }[]' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }[]'.
Typecheck (Node.js v18): src/lib/util/devices.ts#L26
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }[]' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; created_at: string; workspace_id: string; properties: { model: { display_name: string; }; name?: string | undefined; manufacturer?: string | undefined; image_url?: string | undefined; imag...'.
Typecheck (Node.js v18): src/pages/api/devices/get.ts#L61
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }'.
Typecheck (Node.js v18): src/pages/api/devices/list.ts#L130
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }[]' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }[]'.
Typecheck (Node.js v18): src/pages/api/devices/update.ts#L52
Type 'boolean' is not assignable to type 'true'.
Typecheck (Node.js v18): src/pages/api/locks/get.ts#L60
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }'.
Typecheck (Node.js v18): src/pages/api/locks/get.ts#L60
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }'.
Typecheck (Node.js v18): src/pages/api/locks/list.ts#L47
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }[]' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }[]'.
Typecheck (Node.js v18): src/pages/api/locks/list.ts#L47
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }[]' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }[]'.
Typecheck (Node.js v18): src/pages/api/thermostats/heat_cool.ts#L129
Property 'is_cooling_available' does not exist on type '{ name: string; appearance: { name: string; }; online: boolean; model: { display_name: string; manufacturer_display_name: string; can_connect_accessory_keypad?: boolean | undefined; has_built_in_keypad?: boolean | undefined; offline_access_codes_supported?: boolean | undefined; online_access_codes_supported?: boolea...'. Did you mean 'is_heating_available'?
Typecheck (Node.js v18): src/pages/api/thermostats/list.ts#L25
Type '{ location: { location_name?: string | undefined; timezone?: string | undefined; } | null; connected_account_id: string; created_at: string; errors: ({ message: string; is_connected_account_error: true; error_code: string; } | { ...; })[]; ... 20 more ...; nickname?: string | undefined; }[]' is not assignable to type '{ device_id: string; errors: { message: string; error_code: string; }[]; warnings: { message: string; warning_code: string; }[]; is_managed: boolean; created_at: string; workspace_id: string; display_name: string; ... 8 more ...; can_program_online_access_codes?: boolean | undefined; }[]'.
Lint (Node.js v20): src/pages/api/thermostats/cool.ts#L93
Unexpected any value in conditional. An explicit comparison or type cast is required
Lint (Node.js v20): src/pages/api/thermostats/heat.ts#L93
Unexpected any value in conditional. An explicit comparison or type cast is required
Lint (Node.js v20): src/pages/api/thermostats/heat_cool.ts#L128
Unexpected any value in conditional. An explicit comparison or type cast is required
Lint (Node.js v20): src/pages/api/thermostats/heat_cool.ts#L129
Unexpected any value in conditional. An explicit comparison or type cast is required
Lint (Node.js v20)
Process completed with exit code 1.
Lint (Node.js v18): src/pages/api/thermostats/cool.ts#L93
Unexpected any value in conditional. An explicit comparison or type cast is required
Lint (Node.js v18): src/pages/api/thermostats/heat.ts#L93
Unexpected any value in conditional. An explicit comparison or type cast is required
Lint (Node.js v18): src/pages/api/thermostats/heat_cool.ts#L128
Unexpected any value in conditional. An explicit comparison or type cast is required
Lint (Node.js v18): src/pages/api/thermostats/heat_cool.ts#L129
Unexpected any value in conditional. An explicit comparison or type cast is required
Lint (Node.js v18)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
build-1b3af81628351ceb4aab705683616775e7c1a29b Expired
5.53 MB
sha256:b54644f14f9ab4e6530fbef70cc87bc136b3b8c0cf83dca56ec322267198c36b