Motion lighting questions

so far I’m very new with home assistant. thank you very much for this awesome software. :slight_smile: just got all my devices on and usable. I see the preinstalled blueprint that can turn the light on with motion and I used that for most of what I needed. I mostly have single temperature bulbs that only change brightness level but I was wondering if there was somewhere to pick a color for motion aswell?

You can take that blueprint and extend or rework it to suit. These are light entities so you can use any of the options that light supports.

For instance, I’ll have a short transition (maybe 0.5 seconds) so that lights come on or go off “smoothly”.

um where do i rework it? i apparently don’t do that in the automation part when making a automation as all it shows in yaml is a link.

You can rework it locally, or just use it as a base.

Or you can do something like this

trigger:
  - platform: state
    entity_id: binary_sensor.petunia
    to: 'on'
action:
  - service: light.turn_on
    data:
      entity_id: light.whale
      color_name: 'red'
  - wait_for_trigger: 
    - platform: state
      entity_id: binary_sensor.petunia
      to: 'off'
      for:
        seconds: 600
  - service: light.turn_off
    entity_id: light.whale