@GiulioG wrote:
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
Posts: 4
Participants: 3