Simulate sunset

So most lights now can simulate a sunrise but my daughter would like a sunset to help her fall asleep. She has a Phillips Hue and a Smartlife (soon to be changed to Tasmota) light in her room, both natively connected to a Google Home and Home Assistant (which will act as a gateway to Google Home for the Smartlife light once converted to Tasmota).

What’s the best way to simulate a sunset so the lights starts full bright then slowly fades and after about 20 minutes, completely fades to off? So far all I saw are sunrises, not sunsets.

Thanks

You should be able to specify a transition with the light.turn_off service.

trigger:
  # your favorite trigger
action: 
  - service: light.turn_off
    data: 
      entity_id: light.hue_light
      transition: 1200

Thanks :slight_smile: