Closed hal2100 closed 3 years ago
automation documentation automation source (message by IssueLinks)
I've moved this issue to the frontend repository because I think the problem relies within the frontend (I might be wrong though, in that case we should move it back).
Duplicate of https://github.com/home-assistant/frontend/issues/6664.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
Editing an automation with a state list in the conditions first in the file editor in pure yaml and opening the same automation in the UI editor changes the yaml of the conditions and makes it invalid. Same happens if an automation is entered in the new automation YAML editor and one switches to the UI editor and back to the YAML editor.
Environment
Problem-relevant
automation.yaml
Example condition with valid yaml
Result of the same block after opening the automation in the UI editor, auto-generated and invalid (it seems):