I’ve been looking at the addon Adaptive Lighting and I have a script based off this code to turn on a light on command of one of my Hue switches. However it seems to just turn it on with a 10 second transition to the current sun level.
What I want to do is trigger an animated sunset sped up to last a duration of my choosing. Is this possible with the plugin ?
alias: Button Triggered Sunset
description: Run a 10-second sunset when the button is pressed
trigger:
- platform: state
entity_id: button_entity
to: 'on'
condition: []
action:
- service: adaptive_lighting.apply
data:
entity_id: adaptive_lighting.my_light_entity
transition: 10
brightness_pct: 0
mode: single