Visual editor is not supported for this configuration

i was going through my old automations, but i am seeing this error:

Visual editor is not supported for this configuration

* The provided value for 'entity_id' is not supported by the visual editor. We support (string) but received (["light.voordeurlamp"]).

You can still edit your config in YAML.
service: homeassistant.turn_on
entity_id:
  - light.voordeurlamp
data:
  brightness_pct: "1"
  transition: 6

same for this one:

service: light.turn_{{ 'on' if trigger.event == 'sunset' else 'off' }}
entity_id:
  - light.buitenlampen_groep

Hi Sander, try:

service: light.turn_{{ 'on' if trigger.event == 'sunset' else 'off' }}
target:
  entity_id: light.voordeurlamp

Any use of templates in the visual Automation Editor will produce that message; it has no visual representation of templates so it displays it in YAML format.

Your first example doesn’t contain a template but you still get the message because the example’s configuration is like nothing the Automation Editor recognizes. In other words, the configuration doesn’t conform to known conventions.

I suggest you replace it with this:

service: light.turn_on
target:
  entity_id:
    - light.voordeurlamp
data:
  brightness_pct: "1"
  transition: 6