Scene defined in UI locked with "Only scenes defined in scenes.yaml are editable."

At some point recently one of my scenes became un-editable with a message that says “Only scenes defined in scenes.yaml are editable.”

It also says the scene was never triggered, but it’s successfully triggered several times a day.

I’ve only ever done config through the UI. I’ve never edited any yaml files.

I’m running 2024.09.01 core through docker.

How do I make this scene editable?

I reported an issue here: Scene defined in UI locked with "Only scenes defined in scenes.yaml are editable." · Issue #126341 · home-assistant/core · GitHub

Could it be you edited the entity id in the gui? I have had similar issues with automations. The entry in the yaml is originally equal to the entity_id. If one is changed, some parts of the system get confused because they wrongfully rely on both being the same.

If so, you can get around it by either renaming the entity id back, or change the entry in the yaml file so they match again.

I doubt it, I wouldn’t even know how to edit the entity_id. Also, my yaml should be blank, I’ve never edited it.

The scene editor saves everything in the yaml, so it should not be blank.