my_script:
description: My script to do some tuff
fields:
a_field:
description: The first field
example: Hello World
another_field:
description: The second field
example: 1234
one_more_field:
description: The last field
example: true
Is the same possible for shell_commands and python_scripts?
If yes could you describe how? As I do not create a yaml file where I could put these for python scripts and my shell_commands do no longer work if I just add the subkey “description”
Automations are defined using YAML and one of the options is called description which is displayed in the UI (Configuration > Automations).
Shell scripts are not defined in YAML and do not have a description property. You are free to add comments to a shell script but they will not be displayed in the UI. A line starting with # is treated as a comment.
Python_scripts are defined in python, not YAML. You can add comments to python but they are not shown in the UI. A line starting with # is treated as a comment.
Great, so you can add descriptions but they are just not visible in the GUI (like you can see with automations).
Any plans to expose the description field in the GUI?