Configure a switch to trigger a scene, without YAML

Have an Aqara switch. It supports two actions: single press and double press.

Have a Govee light that have created two Home Assistant scenes that have specific light configurations.

Want to apply either scene depending on which action was done. And do not want to mess with YAML to pull this off.

Should be easy… create an automation, choose a trigger (easy enough), select a toggle action that either applies the appropriate scene…

But wait! Where is the option for “Choose scene” as a target?

What am I missing? Didn’t think this was that tough.

The light belongs to the scene
The scene does not belong to the light

Your action would be scene.activate

Hmmm… did I suggestion that the scene belongs to the light?

Regardless, how does “scene.activate” work with regards to the screenshot I shared? I saw zero options on that page that have the word “scene” in it.

action: scene.turn_on
metadata: {}
target:
  entity_id: scene.daytime
1 Like

Thanks for the syntax correction aceindy. I was going from memory, not documentation when I wrote scene.activate

1 Like

Thanks. However, in the automation creation UI, when I choose “Scene” and then “Activate”…

In this section, there is no obvious place with a “Scene” selection box (as in your picture):

If I go into scenes directly (not building an automation, I can see both the scenes I’ve created, and if I manually activate them, they do what I want. Problem is, I can’t figure out how to get the scenes triggered from an external trigger.

Click the “Choose entity” button in the Targets section and select your desired scene.

1 Like