automations_set_scene_config
Create or overwrite a Home Assistant scene configuration with entity states including brightness. Automatically reloads scenes after update.
Instructions
Create or overwrite a scene config. Auto-reloads scenes.
entities format — keys are entity_ids, values are the target state dict: { "light.living_room": {"state": "on", "brightness": 76}, "cover.roleta": {"state": "closed", "position": 0}, "switch.fan": {"state": "off"} }
brightness range is 0-255 (30% ≈ 76, 50% ≈ 128, 100% = 255).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_id | Yes | ||
| name | Yes | ||
| entities | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||