Open modarsoos opened 1 month ago
I couldn't reproduce, seems to work fine for me.
If you move automation_1
to area A, and then move automation_2
to area B, are you saying they both end up with A, or both with B?
Note that after moving the current selection is still active, so if you don't manually deselect automation_1 from selection, it will be moved again when you click automation_2 and move that.
Checklist
Describe the issue you are experiencing
I have encountered a bug in the Home Assistant dashboard when using the "Enter Selection Mode" feature to move multiple automations between different areas in the Automation/Dashboard section. The issue occurs under the following conditions:
I open the Automation/Dashboard and enable "Enter Selection Mode". I select multiple automations with the intent to move them between different areas in the Areas section. When I move a single automation to a different area, the process works fine, and there is no issue. However, if I then move a second automation to a different area and exit the Selection Mode, an error occurs. The problem: The first and second automations I moved both end up being placed in the first Area listed, rather than in the correct areas I intended to move them to.
Describe the behavior you expected
Expected Behavior: Each automation should remain in the specific Area it was moved to, even after moving multiple automations in sequence and exiting Selection Mode.
Actual Behavior: The automations are incorrectly placed in the first Area listed when moving more than one automation and exiting the mode.
Steps to reproduce the issue
Go to Automation/Dashboard in Home Assistant. Enable Enter Selection Mode. Select an automation and move it to a different Area. This step works fine. Select a second automation and move it to another Area. Exit Selection Mode. Observe that both automations are now incorrectly placed in the first Area listed, regardless of where they were supposed to go.
What version of Home Assistant Core has the issue?
2024.10.1
What was the last working version of Home Assistant Core?
2024.10.1
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
Possible Impact: This issue disrupts the intended organization of automations and can lead to confusion when managing multiple automations across different areas. Users may not notice the misplacement immediately, leading to automation mismanagement.