Thank you for the blueprint. It was very helpful in my setup.
For those that looking for how to cycle scenes using the left and right button, i created a small script that jumps to the next scene and activate it.
You have to create an input_select helper containing all the entity IDs of the desired scenes.
alias: Next Scene
fields:
scene_select:
name: Scene Select
description: Input Select entity to set the next scene.
required: true
selector:
entity:
domain: input_select
cycle:
name: Cycle
description: If the option should cycle from the last to the first.
default: true
selector:
boolean: null
sequence:
- service: input_select.select_next
data:
cycle: "{{cycle}}"
target:
entity_id: "{{scene_select}}"
- service: scene.turn_on
target:
entity_id: "{{states(scene_select)}}"
metadata: {}
mode: queued
max: 10
First I tried to do it by activating the scene directly when the input_select changed using an automation, but that had multiple drawbacks:
- Need an additional automation for every scene input_select.
- Tight coupling of changing the input_select and activating the scene.
- Sometimes feels buggy. (Fast button presses not recognized etc.)
Hope that this is useful for you.