I have created some scenes and would like to activate them with a tap from a Lovelace dashboard. I’ve found the documentation about calling services generally and quite a few discussions which are about activating scenes from glance cards, but I’m still stuck:
My first attempt was to create a button using the UI. I added a Button to a card and selected the scene as the Entity. I set the tap action to Default Action. However this pops up a dialogue with an activate button. I would like to avoid that extra step.
My second attempt was to set the tap action to call_service which required a little YAML, which I worked out from some of the documents and forums. Here’s my code, which results in an error message:
Adding to this because I wanted to set up a button that turns on a scene from the UI Lovelace editor:
Set the tap action to ‘Call Service’.
Set the service to ‘scene.turn_on’.
Add an entity and use the auto-complete to find your scenes (start typing scene.____ and find your scene here).
Here’s a screenshot for my kitchen counter lighting:
Im looking to do something similar but with blinds… Im basically using the same code as @SeanM, when II press the button to toggle it on, it opens the blinds, but when I toggle it off, it doesnt do anything. Id like it to close the blinds.