-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Automation editor: Add trigger/condition/action from target #28031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
e905fa6
Add tree
wendevlin 5c3cf17
Merge branch 'dev' of github.com:home-assistant/frontend into add-aut…
wendevlin 0a25d81
Merge branch 'dev' of github.com:home-assistant/frontend into add-aut…
wendevlin 68f383c
Use areas and floors in add from target picker
wendevlin acf963d
Merge branch 'dev' of github.com:home-assistant/frontend into add-aut…
wendevlin 591b464
Add devices and entities to tree
wendevlin 5ad7328
Merge branch 'dev' of github.com:home-assistant/frontend into add-aut…
wendevlin e6936a9
Add mobile view
wendevlin cda9776
also hide narrow target selector when entity is active
wendevlin 0eb993a
Merge branch 'dev' of github.com:home-assistant/frontend into add-aut…
wendevlin b704b62
Fix hidden addFromTarget
wendevlin 12c1e4e
Add mobile max height 50percent
wendevlin 2f3a2b8
Add unassigned section
wendevlin 61a5b60
Fix show more button
wendevlin 350d8e7
remove todo
wendevlin 9628d69
Fix sort
wendevlin e506e4b
Add search
wendevlin 5c8954b
Fix search
wendevlin 1dc7f0a
Fix scroll styles
wendevlin 563c6f0
Load tree via frontend
wendevlin 10b308b
Use core triggers for target
wendevlin 618c6e1
change ha-wa-dialog large width
wendevlin 4cdbda2
Increase dialog size
wendevlin 58a1aac
remove some usage of hass
wendevlin a274727
Update webawesome
wendevlin d68b157
Rearrange unassigned
wendevlin cdb37ed
add sub unassigned
wendevlin bd6b2c6
Rebuild tree with unassigned
wendevlin 0c89415
Fix font weight
wendevlin 33af5b6
Fix domain tree items
wendevlin 5ca10f4
Fix reset after search select
wendevlin 022343c
Add memoize rendering
wendevlin b06b51d
Fix mobile scroll
wendevlin b18d3bf
fix narrow title and subtitle
wendevlin a2a0f90
Add action service lists
wendevlin d070754
Fix load conditions
wendevlin 5fc629f
optimize render code
wendevlin 8a8d7dc
add regions
wendevlin 6d01949
Add target to items
wendevlin ec9bf7d
Fix item target
wendevlin c8b1fd0
TARGET_SEPARATOR to data
wendevlin e319d11
add code regions
wendevlin 4b9a716
Merge branch 'dev' of github.com:home-assistant/frontend into add-aut…
wendevlin fedcf85
Add keyboard shortcuts
wendevlin 5c15354
fix getAreasNestedInFloors
wendevlin 75a127d
Merge branch 'dev' of github.com:home-assistant/frontend into add-aut…
wendevlin 1dbdad5
Fix types
wendevlin cb7f359
Remove export from getAreasAndFloorsItems
wendevlin 0b89f7a
Fix SingleHassServiceTarget
wendevlin fa58b07
use stringCompare instead of localecompare
wendevlin d410363
Group target results by domain
wendevlin e041658
Add info icon
wendevlin 7ac34f4
Search into a external component
wendevlin a3f0e35
extract render items to own element
wendevlin f89caaf
Fix possible undefined entity
wendevlin f9f9622
Merge branch 'dev' of github.com:home-assistant/frontend into add-aut…
wendevlin 2a6e48b
fix styles
wendevlin bf36d44
fix services name
wendevlin 5fde08b
Fix scroll to
wendevlin 1a6d158
Make show more, more visible
wendevlin 161ccc7
Review
wendevlin e7edb1b
Review simplify render
wendevlin 6c52b22
Merge branch 'dev' of github.com:home-assistant/frontend into add-aut…
wendevlin c74d59d
Use feature flag
wendevlin 5fe89ab
Use selected target
wendevlin 39bc4c5
Get conditions for target
wendevlin 252de4d
Get conditions for target
wendevlin 1289a6c
Only allow triggers to use target picker
wendevlin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| import { css, html, LitElement } from "lit"; | ||
| import { customElement } from "lit/decorators"; | ||
|
|
||
| @customElement("ha-section-title") | ||
| class HaSectionTitle extends LitElement { | ||
| protected render() { | ||
| return html`<slot></slot>`; | ||
| } | ||
|
|
||
| static styles = css` | ||
| :host { | ||
| background-color: var(--ha-color-fill-neutral-quiet-resting); | ||
| padding: var(--ha-space-1) var(--ha-space-2); | ||
| font-weight: var(--ha-font-weight-bold); | ||
| color: var(--secondary-text-color); | ||
| min-height: var(--ha-space-6); | ||
| display: flex; | ||
| align-items: center; | ||
| box-sizing: border-box; | ||
| } | ||
| `; | ||
| } | ||
|
|
||
| declare global { | ||
| interface HTMLElementTagNameMap { | ||
| "ha-section-title": HaSectionTitle; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.