Skip to content

Commit 30451e3

Browse files
Register preview labs feature for the new intuitive triggers and conditions (home-assistant#157189)
Co-authored-by: Martin Hjelmare <[email protected]>
1 parent c66c349 commit 30451e3

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

homeassistant/components/automation/manifest.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,10 @@
66
"dependencies": ["blueprint", "trace"],
77
"documentation": "https://www.home-assistant.io/integrations/automation",
88
"integration_type": "system",
9+
"preview_features": {
10+
"new_triggers_conditions": {
11+
"report_issue_url": "https://github.com/home-assistant/core/issues/new?template=bug_report.yml&integration_link=https://www.home-assistant.io/integrations/automation&integration_name=Automation"
12+
}
13+
},
914
"quality_scale": "internal"
1015
}

homeassistant/components/automation/strings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@
6767
"title": "[%key:component::automation::common::validation_failed_title%]"
6868
}
6969
},
70+
"preview_features": {
71+
"new_triggers_conditions": {
72+
"description": "Enables new intuitive triggers and conditions that are more user-friendly than technical state-based options.\n\nThese new automation features support targets across your entire home, letting you trigger automations for any entity, device, area, floor, or label (for example, when any light in your living room turned on). Integrations can now also provide their own intuitive triggers and conditions, just like actions.\n\nThis preview also includes a new tree view to help you navigate your home when adding triggers, conditions, and actions.",
73+
"disable_confirmation": "Disabling this preview will cause automations and scripts that use the new intuitive triggers and conditions to fail.\n\nBefore disabling, ensure that your automations or scripts do not rely on this feature.",
74+
"enable_confirmation": "This feature is still in development and may change. These new intuitive triggers and conditions are being refined based on user feedback and are not yet complete.\n\nBy enabling this preview, you'll have early access to these new capabilities, but be aware that they may be modified or updated in future releases.",
75+
"name": "Intuitive triggers and conditions"
76+
}
77+
},
7078
"services": {
7179
"reload": {
7280
"description": "Reloads the automation configuration.",

homeassistant/generated/labs.py

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)