Glance: I want scene.turn_on on click but

After a lot of test i make this working code

entities:
  - entity: scene.xxxxx
    icon: 'mdi:power'
    name: 'ON'
    tap_action:
      action: call-service
      service: scene.turn_on
      service_data:
        entity_id: scene.xxxxx
show_state: false
title: Aromaterapia
type: glance

but i have this error on the configuration window

Expected a value of type `{entity,name,icon} | entity-id` for `entities.0.tap_action` but received `{"action":"call-service","service":"scene.turn_on","service_data":{"entity_id":"scene.xxxxx"}}`.

Now it works!!! but i don’t like dirty code!

Anyone can suggest to me how have the same result without the error?

Very thanks

This is a limitation of the UI Editor as far as I know. Before this error you probably have “Your config is not supported by the UI editor:” right?

There are other people in this topic with the same error:

I have only the error i wrote… but works fine

As @Burningstone said this is not an error. It is just a limitation of the UI editor. Some things are not fully implemented yet.

You can safely ignore it. It just means you can not use the graphical editor and have to write the card configuration manually if you want to use these advanced features.