feat: integrate cabin CAN and verified dynamic seat modes

This commit is contained in:
vee
2026-08-04 17:51:38 +08:00
parent 155fbb59ba
commit dc7c91800e
99 changed files with 51897 additions and 3618 deletions
+12
View File
@@ -7,6 +7,18 @@ metadata:
spec:
domain: roof
capabilities:
- name: roof.set_shade_motion
description: Open, close, half-open, or stop the panoramic roof shade through vehicle CAN.
target_devices: [roof_shade]
target_scopes: [vehicle]
parameters:
- name: motion
type: string
required: true
allowed_values: [open, close, half, stop]
description: Explicit shade motion command.
risk_level: high
confirmation_policy: on_ambiguity
- name: roof.set_shade_position
description: Set the rear panoramic roof shade to an absolute position, 0 closed and 100 open.
target_devices: [roof_shade]
@@ -23,6 +23,17 @@
}
}
},
{
"properties": {
"capability": {"const": "roof.set_shade_motion"},
"parameters": {
"type": "object",
"additionalProperties": false,
"required": ["motion"],
"properties": {"motion": {"enum": ["open", "close", "half", "stop"]}}
}
}
},
{
"properties": {
"capability": {"const": "roof.set_transmittance"},