Why the heck is there no scene.update
service that can be called from automations / lovelace UI actions to update all of the values stored in a scene to their current runtime values.
It is often desirable to allow non-administrative / non-technical users to update scenes (for lighting in particular) without requiring them to have access to or knowledge of the editor UI or Home Assistant settings. Imagine an entity card configured like so where a button’s tap action recalls a scene and the hold action updates the scene:
type: entities
title: Updateable Lighting Scene
entities:
- type: buttons
entities:
- entity: scene.mood_lighting
name: Mood Lighting
tap_action:
action: call-service
service: scene.turn_on
data:
entity_id: scene.mood_lighting
hold_action:
action: call-service
service: scene.update
data:
entity_id: scene.mood_lighting