HI I am using HA for some time and now updating light controll to zigbee.
maybee someone can help me with this.
I know how to create a scene from the settings → scenes.
I know how to apply sucht a scene.
But I would like to be able to change and save that scene without entering the HA interface. This will also to make it accessibe for the wife.
For this I have the (correct operating zibee) remote where I can change the light color , brightness etc and I have a button that I can dedicate to trigger/activate the storage it the scene (slaapkamer_mood ) I tried to create this in the GUI, but it is not clear for me why this is not working.
In YAML it looks like:
description: ""
triggers:
- domain: mqtt
device_id: 0fcd38298877d6cd20ca5dda448783ba
type: action
subtype: recall_1_ep1
trigger: device
conditions: []
actions:
- action: scene.create
data:
scene_id: slaapkamer_mood
entities: light.gledopto_module_1
mode: single
but when I run this I get:
Executed: January 9, 2025 at 4:56:47 PM
Error: expected dict for dictionary value @ data['entities']
Result:
params:
domain: scene
service: create
service_data:
scene_id: slaapkamer_mood
entities: light.gledopto_module_1
target: {}
running_script: false
I didt already try to create a snapshot but that did not work at all. And also I cannot find how to remove that snapshot. I do not mind try and experiment but I waoul like to tide up the mess I created