Help needed with moving scenes from configuration.yaml to scenes.yaml

I have the following scenes in configuration.yaml and I would like to move them to scenes.yaml:

scene:
input_boolean:
  boost:
    name: Boost
    icon: mdi:thermometer
  
  zigbee_permit_join: #zigbee2mqtt
    name: Allow devices to join
    initial: off
    icon: mdi:cellphone-wireless

I have moved them and added scene: !include scenes.yaml to configuration.yaml, but get the following error when I check the configuration:

Configuration invalid
Invalid config for [scene]: required key not provided @ data['states'][0]['entities']. Got None
required key not provided @ data['states'][0]['name']. Got None. (See /config/configuration.yaml, line 20). 

My scenes.yaml looks like:

input_boolean:
  boost:
    name: Boost
    icon: mdi:thermometer
  
  zigbee_permit_join: #zigbee2mqtt
    name: Allow devices to join
    initial: off
    icon: mdi:cellphone-wireless

What am I doing wrong?

to me your scene doesn’t look like it does in docs, check it out.

In retrospect, I think the scene: in my configuration.yaml is unrelated to what’s below it.

possibly as the indentation of the below was not right.