Unable to add scenes to automation actions - Visual editor is not supported for this configuration

hi all,

i’m trying to make an automation which has an action to activate a scene and i’m getting the error below. i’ve tried different scenes that have different devices and get the same error.

any ideas what i can try please?

Visual editor is not supported for this configuration
Key 'service' is not expected or not supported by the visual editor.
You can still edit your config in YAML.

Remove the offending line mentioned in the error:

action: scene.turn_on
metadata: {}
target:
  entity_id: scene.night_time_heating

perfect, thank you!