frontend
frontend copied to clipboard
Create automation leads to invisible automation in the UI (related to #100267)
Checklist
- [X] I have updated to the latest available Home Assistant version.
- [X] I have cleared the cache of my browser.
- [X] I have tried a different browser to see if it is related to my browser.
- [X] I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.
Describe the issue you are experiencing
When you deploy the configuration.yaml with the following option: #automation: !include automations.yaml
You can create automations in the UI even though they should be "blocked" because you're using the automations defined in the configurations.yaml. The problem is that you can define a new automation in the UI, do all your steps and all what you need as usual, you click save and you get a green confirmation. But when you go back to the automations page, the automation you just created is gone (it is created in automations.yaml but it is not visible on the UI). There's also a discussion on the forum --> https://community.home-assistant.io/t/automations-not-saving/155921
Describe the behavior you expected
I would expect to see the automations page blocked entirely (visible but non clickable) if you use the configuration.yaml only (maybe display an info saying: automations are available by modifying the configuration.yaml only) OR have a check to see if automations.yaml can actually be saved (e.g check if #automation: !include automations.yaml is commented or similar) instead of getting a green confirmation and then don't see the automation on the UI
Steps to reproduce the issue
- In docker, deploy a new HA instance with configuration.yaml with #automation: !include automations.yaml in it.
- Login, go in the UI, go into automations section, create an automation (even an empty one) and save it
- Go back to automations page and the automation you just create is not visible (but visible in the automations.yaml)
What version of Home Assistant Core has the issue?
2024.10.1
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
No response
Which operating system are you using to run this browser?
No response
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response