Scene toggle: on/off - rotate different on scenes

This blueprint toggles your devices on/off using scenes. But it lets you switch between different scenes with multiple executions (e.g. button presses). It will remember the last activated scene when you turn on later.

This was inspired by Simple Scene Toggle from panhans.

Edits:

  • Add optional time restricted default scenes that will be activated first instead of the last on scene. This can be used e.g. to activate a dimm scene during night.

Ideas for feature extensions in the future:

  • eleminate the need for an off scene by automatically detecting all devices used in the on scenes

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

ko-fi

Source Code

1 Like

This is a really great blueprint.

It effectively simulates how Philips Hue cycles through scenes and has the optional On/Off behavior after a short timeout.
Surprisingly, this is also a Time Based scene script! I was able to use this to replace the Hue time based light action and have it be almost identical to the Hue functionality.

Thank you for writing this. I know it is an adaptation of another script, but the On/Off addition is extremely important for me. So thanks!

Thank you for your feedback. This is really encouraging.

From time to time I’m still working the script. Some topics, that I have on my mind:

  • eliminate the need for the off scene by retreiving all entities from the other scenes
  • add a parameter toggle/on/off to support seperate on/off switches/buttons. On would switch between the different on scenes, off would always turn everything off, toggle would be the current behaviour.
  • improve documentation

I’m also open to suggestions for improvements or useful features.