Thanks Taras. The blueprint is from Nils (Dynamic, Hue-like Color Scenes with Randomly Distributed Colors). Using it, I create a script called ‘Hallway Hue scenes’ that applies this blueprint to my Hallway Hue Overhead lights. In a nutshell, this blueprint has a dictionary of Hue-like scenes, where each scene consists of a color palette (usually five colors). From this palette, the blueprint randomly selects colors to assign to the supported lights in the specified area. In addition to scene, brightness, and transition, the blueprint offers the ability to repeat this random color assignment every 00:00:00 seconds, providing a subtle yet dynamic lighting scene (very nice!). I have this repeat occurring every 10 seconds in most of my calls to ‘Hallway Hue scenes’. Since I often have the hallway running a scene morning through evening (with the colors being randomly reassigned from the palette every 10 seconds), my goal is to use sunrise/sunset to brighten/dim the running script (scene) appropriately. Does that help?
Here is an example of a call to script ‘Hallway Hue scenes’. Below that, is my use of blueprint Hue-like scenes in my ‘Hallway Hue scenes’ script.
- service: script.hallway_hue_scenes
data:
scene: Arctic aurora
repeat_delay: 00:00:10
onlyonlights: false
brightness: 50
transition: 5
alias: Hallway Hue scenes
use_blueprint:
path: nilsreiter/ha-scenes.yaml
input:
target:
area_id: hallway
icon: mdi:lightbulb-group