Scenes in Home Assistant: the whole home changes with one press
A scene stores the state of several devices and brings it back with one gesture. We show when a scene is better than an automation and how to make your first one with a snapshot of the current state.
- Level
- Beginner
- Active time
- 20–45 minutes
- Home Assistant required
- Yes
You walk into the living room in the evening and want the same thing every time: the ceiling lamp goes off, the corner lamp stays at 30%, and the strip is warm. If you do it with three presses, it is not a smart home. A scene does it with one.
What you will get
A first working scene that sets brightness and colour on several lamps at once, and three ways to activate it: from the dashboard, by voice through Assist and from an automation. You also learn when you do not need a scene.
We do not make a scene for the whole home at once. We start with one room and two lamps.
What you will need
- Home Assistant. The scene editor is built in at Settings → Automations & scenes → Scenes.
- At least two lamps whose brightness or colour can be changed. To make the scene visible, a good choice is Shelly Multicolor Bulb E27 Gen3: RGBW bulbs with Wi-Fi and Bluetooth, for an E27 socket. You need at least 2, because with one lamp the difference between scenes is small.
- You do not need a Zigbee adapter: these bulbs are Wi-Fi.
If you already have other lamps in Home Assistant, use them. Buy new ones only if you have nothing to change brightness and colour on.
How it works
According to the documentation, a scene stores the states you want certain entities to have and sets them all at once. “Movie” can dim the lamps, lower the blinds and turn on the TV. A script is a series of actions, an automation is a “when” rule. A scene says “how” things should look.
Use a scene when you want the same state in several places. If the state is needed only in one automation, there is no need for a saved scene: the Apply scene action sets the state directly.
Steps
- Set the lamps by hand: for example a corner lamp at 30%, ceiling lamps off, a strip in a warm colour.
- Open Settings → Automations & scenes → Scenes → Create scene. Add the lamps as entities and set them in the editor. The editor has a live mode: changes show immediately on the lamps.
- Save the scene with a name you will recognise, e.g. “Evening”. You expect a new entity
scene.vecher; the name is an example. - Activate it from Settings → Scenes and check that the lamps reach the set state.
- Add it to the dashboard as a button or run it from an automation. Example of an automation at sunset:
alias: Evening – scene at sunset
triggers:
- trigger: sun
event: sunset
actions:
- action: scene.turn_on
target:
entity_id: scene.vecher
mode: single
You put it in a new automation through Edit in YAML. The names are examples.
- For a temporary state, use creating a scene from an automation. First
scene.createwithsnapshot_entitiessaves the current state, then the actions change it, and finallyscene.turn_onof the created scene brings it back.
How it is at our place
This is how Marto’s bedroom AC automation works: when a window stays open for 5 minutes, it creates a scene bedroom_ac_before_windows with a snapshot of the AC’s state, changes the mode, and another automation restores the snapshot when the windows close. It is not a lighting scene, but it is the same idea of temporary saving.
Checking the result
- Activate the scene when the lamps are in all kinds of different states. They should all reach the same one.
- Cut the power to one lamp and run the scene. The unreachable lamp simply does not change; Home Assistant does not guarantee that the whole home is in the desired state.
- Restart Home Assistant. Saved scenes stay; temporary ones created by an automation are lost.
If it does not work
- The lamp does not change colour: it does not support it. A scene can set only what the entity itself allows.
- The scene is different from what you set: it saved the state at the time of recording, not what you saw afterwards. Open it in the editor and save it again.
- The scene does not activate from an automation: check the entity name and that the automation is enabled.
Limitations
A scene is not a rule. It does not know when to activate, does not wait and does not check whether everything has arrived. For conditions and delays use an automation or a script. Some scenes cannot be edited in the editor: for example, ones created by an integration.
Sources and verification status
- Scenes in Home Assistant, verified on 22.11.2026.
- Automations in Home Assistant, verified on 22.11.2026.
- The bulb’s product page in the shop.
- Marto’s automations were read in read-only mode in his Home Assistant on 22.11.2026.
The menu and the editor of your version of Home Assistant may differ slightly.
At home
Marto
In Marto's Home Assistant a scene is used mostly temporarily: the automation for the bedroom AC takes a snapshot of its state when the window stays open, and then restores it. The night and day scenes of the hallway and the wardrobe are built into automations and helper switches.
Need a hand?
We can set up and install everything in this project. In some regions we install it ourselves — ask us.
Contact us



