Intelligent copy/paste and drag/drop between triggers and conditions #4220
Unanswered
White-Goblin
asked this question in
Automations & scripts
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Describe the feature
I would like to see intellegent copy/paste and drag/drop between triggers and conditions, where possible.
Use cases
Multiple triggers can be duplicated in the conditions section to effectively have an 'and' condition as a trigger. I believe this to be a fairly common practice in the community. Here's an example where an automation tracks both the azimuth and elevation of the sun to determine if it's within a certain 'box' in the sky. It triggers on both azimuth and elevation, and checks both azimuth and elevation. As you can see the trigger and conditions are identical, and should be able to be copied and pasted:
Current workarounds
I can copy a trigger in yaml, paste it to the conditions, and change -trigger to -condition.
Anything else?
No response
All reactions