NB Extremely new to Hassio!!
I’m trying to use a script to get all the entities from an area. I think I want something like the following, but can’t work out the template syntax:
alias: Pulse bulb
sequence:
- service: scene.create
data:
scene_id: pulse_before
snapshot_entities: '{{expand('group.livingroom') | list}}'
Background: I have a Tradfri 5 button remote which I want to use like this:
- The on/off and lights fade up and down to work as expected across a range of living room lights (two main lights, and a group of lights in a freestanding lamp)
- if you press left or right, I want the next bulb in the sequence to blink (so you know which is selected) and then be able to be individually faded with the fade up/down keys. You can loop round each of these lights as customise the lights as required
Not really interested in existing blueprints as I’m mainly trying to see what I can do, e.g. I have already found this one : ZHA - IKEA five button remote for lights
TIA