Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102976

Setting Colours in Automations

$
0
0

Hi all, I have a basic automation to turn my bed lights on @ sunset and off @ sunrise.

I’d like to expand on them a little but cannot find any reference to setting colours from within the YAML code nor the Visual Editor. I’d like to see the evening light be red & the morning light be blue.

alias: Bed Light ON Sun SET  Red
description: ''
trigger:
  - platform: sun
    event: sunset
    offset: '5'
condition: []
action:
  - type: turn_on
    device_id: 2568a50ed9536883605056aacb511d85
    entity_id: light.bedroom_light
    domain: light
    brightness_pct: 5

mode: single

If anyone can assist, I’d be extremely grateful :slight_smile:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 102976

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>