I had a scene called “good night”, but wanted to use a script instead. The scene was made in yaml so I couldn’t edited from the frontend. I therefore deleted the scenes.yaml file. The problem is ;
The “good night” scene ;
Still appears in the frontend.
Still functions.
Still can’t be deleted, or edited, from frontend.
Has anyone had a similar expreience, any way to fix this?
Did you figure this one out? I ran into the same problem today. Deleted scenes.yaml and created an empty one but the unwanted scenes are still available and executable after restarting Home Assistant. The only scene that disappeared was the one I actually use and want…
It’s gone now. Ufortunately I can’t say for sure what actually did the trick as I tried different things and it’s been a while.
Try “Configuration” —> “Entitites” and see if you find it there.
Or within /config/.storage/core.entity_registry. I’ve had luck removing entities from there before, just be careful and don’t remove part of other entities register. Copy the file for backup, before editing.
So simple, yet I missed it. Thanks for this follow up. Yes I did search and come here, and your response made this simple problem, and go away. New to HA, so these sorts of comments are gold!
After removing a scene from the yaml file, an orphan entity will remain in the Configuration/Scenes list. You can’t edit the list item (crossed-out pencil), but if you click on the information icon (i inside circle), you will see a card which allows you to REMOVE ENTITY. Somewhat oddly, if you click the “settings gear” on the same card, you will be able to edit the entity (including DELETE). It would be better if the Scene UI indicated that the entity was an orphan (disabled, etc.) and allowed the user to remove it from there. If you view the Configuration/Entities list and show all items, you can see it in the list (with the red warning symbol) and edit/delete it directly from there. Note that you can also edit the entity from the Developer Tools/Entities list via the information icon.
I had a ton of uneditable, undeletable scenes, no matter which of all your suggestions I tried. I thought they’d been imported from smartthings, but I disabled and wiped all smartthings data before I even starting setting up HA. Finally found where they came from - the Hue bridge. There’s an option to “clean” the bridge. Run it, and all the trash scenes were gone. It looks like the Hue bridge had imported all the smartthings scenes a long time ago, and I never noticed.
Anyway, problem solved and thanks to everyone for various methods!
I had the same thing then I remembered lutron…The scenes were created in the Lutron app on my iPhone. Once deleted from my lutron app…poof they were gone.
Hope that helps.
It turns out for me that this was a scene created in alexa. Once I deleted it from alexa it dissappeared from Home Assistant. This may not be the same for you, but it is something you might look at.