Add support for automation description (#26662)
* Add support for automation annotation * Rename annotation to description
This commit is contained in:
parent
c17057de4b
commit
10572a62b1
2 changed files with 3 additions and 1 deletions
|
@ -53,7 +53,7 @@ class EditAutomationConfigView(EditIdBasedConfigView):
|
|||
|
||||
# Iterate through some keys that we want to have ordered in the output
|
||||
updated_value = OrderedDict()
|
||||
for key in ("id", "alias", "trigger", "condition", "action"):
|
||||
for key in ("id", "alias", "description", "trigger", "condition", "action"):
|
||||
if key in cur_value:
|
||||
updated_value[key] = cur_value[key]
|
||||
if key in new_value:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue