Trying to get an automation to set some globes to a certain colour depending on time etc. but keep getting this error (extra keys not allowed).
Instead of a Device Action, try a Service Call.
service: light.turn_on target: entity_id: light.bf38be635feb9ddbfdnwzv data: brightness_pct: 100 rgb_color: - 255 - 255 - 255
NOTE Double-check the entity_id in the example I posted. I had to transcribe it from your screenshot. For future reference, post the automation in YAML as opposed to a screenshot. For more information, refer to guideline 14 in the FAQ.