Add keyboard shortcut to save automation/scene/script#7207
Add keyboard shortcut to save automation/scene/script#7207bramkragten merged 1 commit intohome-assistant:devfrom
Conversation
|
🎉🎉🎉🎉 |
|
Can we make this a class mixing, that will call a function of the class when ctrl+s is called? |
|
@bramkragten Thanks for your suggestions. This is my first time with LitElement, but I'll look at documentation to do this. |
|
First of all, this is awesome. Second of all, and this is an admittedly unlikely scenario, but now that Quick Bar (with its two hotkeys) is a thing, we might want to think of ways to avoid collisions. Some kind of shortcut registry, or at least unifying them all under a common mixin where a dev is likely to see what's already taken. Also, might consider checking for mac OS to avoid having duplicate hotkeys (see: #7293). Standardizing our shortcuts would help this as well. Update: Took a stab at this consolidation over here: #7314 |
Proposed change
Add CMD+S or CTRL+S keyboard shortcut to save automation/scene/script.
Type of change
Example configuration
No configuration needed.
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: