Scenes created but not available

I’ve created a number of scenes using the scenes.yaml file but for some reason a couple of them aren’t visible in Config>Scenes UI and not in the entities list either.

The code passed configuration check and no errors have been thrown up. The code is similar to other working scenes as I copied and pasted and just changed entities and other values where needed.

Can anyone advise please?

Code for one of the ‘missing’ scenes below:

- id: dining
  name: Dinner Time
  icon: mdi:silverware-fork-knife
  entities:
    light.lounge_light: false
    light.play_bar_1:
      state: 'on'
      rgb_color:
      - 244
      - 253
      - 255
      brightness: 140
    light.play_bar_2:
      state: 'on'
      rgb_color:
      - 244
      - 253
      - 255
      brightness: 140
    light.play_bar_3:
      state: 'on'
      rgb_color:
      - 244
      - 253
      - 255
      brightness: 140
    light.tv_l:
      state: 'on'
      rgb_color:
      - 244
      - 253
      - 255
      brightness: 100
    light.tv_r:
      state: 'on'
      rgb_color:
      - 244
      - 253
      - 255
      brightness: 100

Bump this one.

I’ve deleted the scene code, restarted HA and re-added the code to scenes.yaml it but the above is still not showing in entities or the scenes UI list.

It’s the same as three others that are showing in entities with just the rgb colours changed so I can’t understand why I’m not seeing this one.

Any help/advice appreciated.

OK, so this is odd (to me any way).

I’ve simply changed the id from ‘dining’ to ‘dining_light’ and it now shows in entities and UI.

Why would this be?