Capacity to generate comments into the UI for automation-scripts-etc... #541
Unanswered
BBE-FR
asked this question in
Other UI enhancements
Replies: 1 comment 1 reply
-
|
This is mostly a duplicate of #533 |
Beta Was this translation helpful? Give feedback.
1 reply
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 enhancement
There should be a proper way to add comments in all the UI to have a comment function properly available and stored.
(Yaml comments based on "#" are not stored and lost when using GUI)
For the automation interface, currently, only the description field (alias) exists as a kind of workaround available inside some blocs of the automation GUI.
But if we could via the interface add other comments outside the blocs and keep them that would be great.
This was the third most voted WTH for the last WTH month: https://community.home-assistant.io/t/wth-comments-disappear-from-yaml-editor/802437
I think that this kind of functionality deserves a proper entry into the UI, like the action blocs and building blocs... A proper "comment bloc" or "comment card" containing free text could be added and properly stored in the JSON.
Use cases
Store any comment into a UI generated script, automation, dashboard, etc...
Visual examples
For automation / script:

A proper comment entry, with the associated "+ ADD COMMENT" located next to (+ADD TRIGGER) and (+ADD BUILDING BLOC) in the UI would allow to create a text only object anywhere, store it and restore it, and use the alias for what it is: properly name a bloc.
Anything else?
The capacity to transform the "#" yaml comments into these new UI compatible kind of comment would become another issue, only once, that could be taken into consideration by the functionality and thus allow to answer the need expressed there: https://github.com/orgs/home-assistant/discussions/533 .
Any other proposed workaround in comment would be welcomed!
Feel free to propose your workaround in the comments.
Beta Was this translation helpful? Give feedback.
All reactions