feat: integrate production cockpit AI assistant
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
id: camping
|
||||
name: 露营模式
|
||||
aliases: [户外露营模式, 营地模式]
|
||||
description: 使用低风外循环、打开遮阳帘并启用露营氛围;不自动开窗。
|
||||
icon: tent-tree
|
||||
operations:
|
||||
- {domain: climate, capability: climate.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 保持座舱温度。}
|
||||
- {domain: climate, capability: climate.set_temperature, target_scope: vehicle, operation: set, parameters: {temperature_c: 24}, reason: 使用舒适中性温度。}
|
||||
- {domain: climate, capability: climate.set_fan_level, target_scope: vehicle, operation: set, parameters: {level: 1}, reason: 使用安静低风量。}
|
||||
- {domain: climate, capability: climate.set_cycle_mode, target_scope: vehicle, operation: set, parameters: {mode: external}, reason: 使用外循环换气。}
|
||||
- {domain: roof, capability: roof.set_shade_position, target_scope: vehicle, operation: set, parameters: {position_pct: 100}, reason: 打开遮阳帘获得开阔视野。}
|
||||
- {domain: ambient_light, capability: ambient_light.set_mode, target_scope: vehicle, operation: set, parameters: {mode: camping}, reason: 使用工程已接入的露营氛围。}
|
||||
@@ -0,0 +1,13 @@
|
||||
id: cinema
|
||||
name: 观影模式
|
||||
aliases: [影院模式, 家庭影院模式, 电影模式, 看电影模式]
|
||||
description: 关闭直射光和车内主照明,使用低风恒温与影院氛围灯;不包含屏幕或音响控制。
|
||||
icon: film
|
||||
operations:
|
||||
- {domain: climate, capability: climate.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 维持观影期间的座舱恒温。}
|
||||
- {domain: climate, capability: climate.set_temperature, target_scope: vehicle, operation: set, parameters: {temperature_c: 24}, reason: 使用舒适中性温度。}
|
||||
- {domain: climate, capability: climate.set_fan_level, target_scope: vehicle, operation: set, parameters: {level: 1}, reason: 使用低风量降低噪声。}
|
||||
- {domain: roof, capability: roof.set_shade_position, target_scope: vehicle, operation: set, parameters: {position_pct: 0}, reason: 关闭遮阳帘减少环境光。}
|
||||
- {domain: ambient_light, capability: ambient_light.set_mode, target_scope: vehicle, operation: set, parameters: {mode: cinema}, reason: 使用工程已接入的影院氛围。}
|
||||
- {domain: interior_light, capability: interior_light.set_indoor_power, target_scope: vehicle, operation: set, parameters: {state: "off"}, reason: 关闭室内主照明。}
|
||||
- {domain: interior_light, capability: interior_light.set_reading_power, target_scope: all, operation: set, parameters: {state: "off"}, reason: 关闭全部已接入阅读灯。}
|
||||
@@ -0,0 +1,10 @@
|
||||
id: fresh-air
|
||||
name: 外循环通风模式
|
||||
aliases: [通风换气模式, 外循环模式]
|
||||
description: 使用较高风量和外循环进行座舱换气;不宣称空气净化能力。
|
||||
icon: wind
|
||||
operations:
|
||||
- {domain: climate, capability: climate.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启空调通风链路。}
|
||||
- {domain: climate, capability: climate.set_cycle_mode, target_scope: vehicle, operation: set, parameters: {mode: external}, reason: 使用外循环换气。}
|
||||
- {domain: climate, capability: climate.set_fan_level, target_scope: vehicle, operation: set, parameters: {level: 5}, reason: 使用较高风量换气。}
|
||||
- {domain: climate, capability: climate.set_outlet_mode, target_scope: vehicle, operation: set, parameters: {mode: face_feet}, reason: 面脚均匀送风。}
|
||||
@@ -0,0 +1,12 @@
|
||||
id: long-trip-comfort
|
||||
name: 长途舒适模式
|
||||
aliases: [长途乘车模式, 高速舒适模式]
|
||||
description: 为长途乘坐提供副驾恒温、柔和风量、外循环与适度遮光。
|
||||
icon: route
|
||||
operations:
|
||||
- {domain: climate, capability: climate.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启空调。}
|
||||
- {domain: climate, capability: climate.set_temperature, target_scope: passenger, operation: set, parameters: {temperature_c: 24}, reason: 保持副驾舒适温度。}
|
||||
- {domain: climate, capability: climate.set_fan_level, target_scope: vehicle, operation: set, parameters: {level: 2}, reason: 使用中低风量。}
|
||||
- {domain: climate, capability: climate.set_cycle_mode, target_scope: vehicle, operation: set, parameters: {mode: external}, reason: 长途行驶使用外循环。}
|
||||
- {domain: climate, capability: climate.set_outlet_mode, target_scope: vehicle, operation: set, parameters: {mode: face_feet}, reason: 座舱面脚均匀送风。}
|
||||
- {domain: roof, capability: roof.set_shade_position, target_scope: vehicle, operation: set, parameters: {position_pct: 30}, reason: 降低长途日晒。}
|
||||
@@ -0,0 +1,16 @@
|
||||
id: quiet-night
|
||||
name: 夜间静享模式
|
||||
aliases:
|
||||
- 夜间模式
|
||||
- 静夜模式
|
||||
description: 使用低亮冷色氛围、关闭主照明与阅读灯,并以低风恒温保持安静。
|
||||
icon: moon-star
|
||||
operations:
|
||||
- {domain: ambient_light, capability: ambient_light.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启低亮氛围灯。}
|
||||
- {domain: ambient_light, capability: ambient_light.set_illumination, target_scope: vehicle, operation: set, parameters: {color_hex: '#102040', brightness_pct: 10}, reason: 使用低亮深蓝氛围。}
|
||||
- {domain: interior_light, capability: interior_light.set_indoor_power, target_scope: vehicle, operation: set, parameters: {state: "off"}, reason: 关闭室内主照明。}
|
||||
- {domain: interior_light, capability: interior_light.set_reading_power, target_scope: all, operation: set, parameters: {state: "off"}, reason: 关闭全部已接入阅读灯。}
|
||||
- {domain: climate, capability: climate.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启空调。}
|
||||
- {domain: climate, capability: climate.set_temperature, target_scope: vehicle, operation: set, parameters: {temperature_c: 24}, reason: 使用舒适中性温度。}
|
||||
- {domain: climate, capability: climate.set_fan_level, target_scope: vehicle, operation: set, parameters: {level: 1}, reason: 使用安静低风量。}
|
||||
- {domain: roof, capability: roof.set_shade_position, target_scope: vehicle, operation: set, parameters: {position_pct: 0}, reason: 关闭遮阳帘降低外界干扰。}
|
||||
@@ -0,0 +1,11 @@
|
||||
id: rain-defrost
|
||||
name: 雨天除雾模式
|
||||
aliases: [前挡除雾模式, 雨雾模式]
|
||||
description: 开启前挡除雾、外循环和较高风量,使用当前工程可控的空调能力改善视野。
|
||||
icon: cloud-rain
|
||||
operations:
|
||||
- {domain: climate, capability: climate.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启空调除雾链路。}
|
||||
- {domain: climate, capability: climate.set_front_defrost, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启前挡除雾。}
|
||||
- {domain: climate, capability: climate.set_cycle_mode, target_scope: vehicle, operation: set, parameters: {mode: external}, reason: 使用外循环降低水汽。}
|
||||
- {domain: climate, capability: climate.set_fan_level, target_scope: vehicle, operation: set, parameters: {level: 4}, reason: 提高除雾风量。}
|
||||
- {domain: climate, capability: climate.set_outlet_mode, target_scope: vehicle, operation: set, parameters: {mode: defrost}, reason: 风向对准除雾区域。}
|
||||
@@ -0,0 +1,15 @@
|
||||
id: reading
|
||||
name: 阅读模式
|
||||
aliases:
|
||||
- 阅读空间模式
|
||||
- 看书模式
|
||||
- 读书模式
|
||||
description: 为座舱阅读提供暖色照明、低风恒温和适度遮光。
|
||||
icon: book-open
|
||||
operations:
|
||||
- {domain: climate, capability: climate.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 保持阅读期间的座舱恒温。}
|
||||
- {domain: climate, capability: climate.set_temperature, target_scope: vehicle, operation: set, parameters: {temperature_c: 24}, reason: 使用舒适中性温度。}
|
||||
- {domain: climate, capability: climate.set_fan_level, target_scope: vehicle, operation: set, parameters: {level: 1}, reason: 使用安静低风量。}
|
||||
- {domain: roof, capability: roof.set_shade_position, target_scope: vehicle, operation: set, parameters: {position_pct: 30}, reason: 降低眩光并保留部分自然光。}
|
||||
- {domain: ambient_light, capability: ambient_light.set_illumination, target_scope: vehicle, operation: set, parameters: {color_hex: '#FFF2D5', brightness_pct: 60}, reason: 使用柔和暖色辅助照明。}
|
||||
- {domain: interior_light, capability: interior_light.set_reading_power, target_scope: all, operation: set, parameters: {state: "on"}, reason: 打开当前工程已接入的全部阅读灯。}
|
||||
@@ -0,0 +1,13 @@
|
||||
id: reception
|
||||
name: 接待模式
|
||||
aliases: [贵宾模式, 迎宾接待模式]
|
||||
description: 使用柔和暖光、车内照明、恒温和半开遮阳帘营造接待环境。
|
||||
icon: handshake
|
||||
operations:
|
||||
- {domain: ambient_light, capability: ambient_light.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启氛围灯。}
|
||||
- {domain: ambient_light, capability: ambient_light.set_illumination, target_scope: vehicle, operation: set, parameters: {color_hex: '#FFE2B8', brightness_pct: 50}, reason: 使用柔和暖色氛围光。}
|
||||
- {domain: interior_light, capability: interior_light.set_indoor_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启室内主照明。}
|
||||
- {domain: climate, capability: climate.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启空调。}
|
||||
- {domain: climate, capability: climate.set_temperature, target_scope: vehicle, operation: set, parameters: {temperature_c: 24}, reason: 使用舒适中性温度。}
|
||||
- {domain: climate, capability: climate.set_fan_level, target_scope: vehicle, operation: set, parameters: {level: 2}, reason: 使用中低风量。}
|
||||
- {domain: roof, capability: roof.set_shade_position, target_scope: vehicle, operation: set, parameters: {position_pct: 50}, reason: 遮阳帘半开。}
|
||||
@@ -0,0 +1,17 @@
|
||||
id: relaxation
|
||||
name: 放松模式
|
||||
aliases: [休闲模式, 舒缓模式, 轻松模式, 放空模式]
|
||||
description: 使用舒展的副驾姿态、安静恒温、适度遮光和低亮暖光,营造适合放松休息的座舱环境。
|
||||
icon: sofa
|
||||
operations:
|
||||
- {domain: seat, capability: seat.set_longitudinal_position, target_scope: passenger, operation: set, parameters: {position_pct: 51}, reason: 将副驾移动到兼顾腿部空间与安全的休闲位置。}
|
||||
- {domain: seat, capability: seat.set_cushion_tilt, target_scope: passenger, operation: set, parameters: {position_pct: 30}, reason: 调整坐盆角度以提供稳定支撑。}
|
||||
- {domain: seat, capability: seat.set_backrest_recline, target_scope: passenger, operation: set, parameters: {position_pct: 66}, reason: 将副驾靠背调整到舒展的休闲角度。}
|
||||
- {domain: seat, capability: seat.set_legrest_height, target_scope: passenger, operation: set, parameters: {position_pct: 76}, reason: 升起腿托以放松腿部。}
|
||||
- {domain: climate, capability: climate.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启空调恒温链路。}
|
||||
- {domain: climate, capability: climate.set_temperature, target_scope: vehicle, operation: set, parameters: {temperature_c: 24}, reason: 使用适合静坐休息的中性温度。}
|
||||
- {domain: climate, capability: climate.set_fan_level, target_scope: vehicle, operation: set, parameters: {level: 1}, reason: 使用安静低风量减少打扰。}
|
||||
- {domain: climate, capability: climate.set_cycle_mode, target_scope: vehicle, operation: set, parameters: {mode: external}, reason: 使用外循环保持座舱空气流通。}
|
||||
- {domain: roof, capability: roof.set_shade_position, target_scope: vehicle, operation: set, parameters: {position_pct: 0}, reason: 关闭遮阳帘减少外界强光干扰。}
|
||||
- {domain: ambient_light, capability: ambient_light.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启低亮氛围照明。}
|
||||
- {domain: ambient_light, capability: ambient_light.set_illumination, target_scope: vehicle, operation: set, parameters: {color_hex: '#FFB347', brightness_pct: 20}, reason: 使用低亮暖光营造放松氛围。}
|
||||
@@ -0,0 +1,11 @@
|
||||
id: romantic
|
||||
name: 浪漫模式
|
||||
aliases: [约会模式, 浪漫氛围模式]
|
||||
description: 使用浪漫氛围灯并关闭车内主照明与阅读灯,同时关闭遮阳帘。
|
||||
icon: heart
|
||||
operations:
|
||||
- {domain: ambient_light, capability: ambient_light.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启氛围灯。}
|
||||
- {domain: ambient_light, capability: ambient_light.set_mode, target_scope: vehicle, operation: set, parameters: {mode: romantic}, reason: 使用工程已接入的浪漫氛围。}
|
||||
- {domain: interior_light, capability: interior_light.set_indoor_power, target_scope: vehicle, operation: set, parameters: {state: "off"}, reason: 关闭室内主照明。}
|
||||
- {domain: interior_light, capability: interior_light.set_reading_power, target_scope: all, operation: set, parameters: {state: "off"}, reason: 关闭全部已接入阅读灯。}
|
||||
- {domain: roof, capability: roof.set_shade_position, target_scope: vehicle, operation: set, parameters: {position_pct: 0}, reason: 关闭遮阳帘形成私密环境。}
|
||||
@@ -0,0 +1,12 @@
|
||||
id: summer-cooling
|
||||
name: 夏季清凉模式
|
||||
aliases: [清凉模式, 酷夏模式]
|
||||
description: 使用内循环、适中冷风、关闭遮阳帘并开启当前已接入的副驾座椅通风。
|
||||
icon: snowflake
|
||||
operations:
|
||||
- {domain: climate, capability: climate.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启空调。}
|
||||
- {domain: climate, capability: climate.set_temperature, target_scope: vehicle, operation: set, parameters: {temperature_c: 23}, reason: 设置清凉但不过低的温度。}
|
||||
- {domain: climate, capability: climate.set_fan_level, target_scope: vehicle, operation: set, parameters: {level: 3}, reason: 使用适中风量快速降温。}
|
||||
- {domain: climate, capability: climate.set_cycle_mode, target_scope: vehicle, operation: set, parameters: {mode: internal}, reason: 使用内循环提高降温效率。}
|
||||
- {domain: seat, capability: seat.set_ventilation, target_scope: passenger, operation: set, parameters: {state: "on", level: 2}, reason: 开启当前已接入的副驾座椅通风。}
|
||||
- {domain: roof, capability: roof.set_shade_position, target_scope: vehicle, operation: set, parameters: {position_pct: 0}, reason: 关闭遮阳帘减少日晒。}
|
||||
@@ -0,0 +1,12 @@
|
||||
id: winter-warmth
|
||||
name: 冬季温暖模式
|
||||
aliases: [暖冬模式, 冬日模式]
|
||||
description: 使用内循环、暖风、关闭遮阳帘并开启当前已接入的副驾座椅加热。
|
||||
icon: flame
|
||||
operations:
|
||||
- {domain: climate, capability: climate.set_power, target_scope: vehicle, operation: set, parameters: {state: "on"}, reason: 开启空调。}
|
||||
- {domain: climate, capability: climate.set_temperature, target_scope: vehicle, operation: set, parameters: {temperature_c: 26}, reason: 设置温暖舒适温度。}
|
||||
- {domain: climate, capability: climate.set_fan_level, target_scope: vehicle, operation: set, parameters: {level: 2}, reason: 使用中低风量。}
|
||||
- {domain: climate, capability: climate.set_cycle_mode, target_scope: vehicle, operation: set, parameters: {mode: internal}, reason: 使用内循环提高升温效率。}
|
||||
- {domain: seat, capability: seat.set_heating, target_scope: passenger, operation: set, parameters: {state: "on", level: 2}, reason: 开启当前已接入的副驾座椅加热。}
|
||||
- {domain: roof, capability: roof.set_shade_position, target_scope: vehicle, operation: set, parameters: {position_pct: 0}, reason: 关闭遮阳帘减少冷辐射。}
|
||||
Reference in New Issue
Block a user