Replace profile targets with scene activation and searchable scene selector
Profiles now activate scene presets instead of individual targets, with configurable deactivation behavior (none/revert/fallback scene). The target checklist UI is replaced by a searchable combobox for scene selection that scales well with many scenes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -593,9 +593,18 @@
|
||||
"profiles.condition.mqtt.match_mode.contains": "包含",
|
||||
"profiles.condition.mqtt.match_mode.regex": "正则表达式",
|
||||
"profiles.condition.mqtt.hint": "当 MQTT 主题收到匹配的消息时激活",
|
||||
"profiles.targets": "目标:",
|
||||
"profiles.targets.hint": "配置文件激活时要启动的目标",
|
||||
"profiles.targets.empty": "没有可用的目标",
|
||||
"profiles.scene": "场景:",
|
||||
"profiles.scene.hint": "条件满足时激活的场景预设",
|
||||
"profiles.scene.search_placeholder": "搜索场景...",
|
||||
"profiles.scene.none_selected": "无场景",
|
||||
"profiles.scene.none_available": "没有可用的场景",
|
||||
"profiles.deactivation_mode": "停用方式:",
|
||||
"profiles.deactivation_mode.hint": "条件不再满足时的行为",
|
||||
"profiles.deactivation_mode.none": "无 — 保持当前状态",
|
||||
"profiles.deactivation_mode.revert": "恢复到之前的状态",
|
||||
"profiles.deactivation_mode.fallback_scene": "激活备用场景",
|
||||
"profiles.deactivation_scene": "备用场景:",
|
||||
"profiles.deactivation_scene.hint": "配置文件停用时激活的场景",
|
||||
"profiles.status.active": "活动",
|
||||
"profiles.status.inactive": "非活动",
|
||||
"profiles.status.disabled": "已禁用",
|
||||
@@ -609,8 +618,6 @@
|
||||
"profiles.created": "配置文件已创建",
|
||||
"profiles.deleted": "配置文件已删除",
|
||||
"profiles.error.name_required": "名称为必填项",
|
||||
"profiles.toggle_all.start": "启动所有目标",
|
||||
"profiles.toggle_all.stop": "停止所有目标",
|
||||
"scenes.title": "场景",
|
||||
"scenes.add": "捕获场景",
|
||||
"scenes.edit": "编辑场景",
|
||||
|
||||
Reference in New Issue
Block a user