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

Turn Hue RGB led strip on for 10 minutes and fade thereafter

$
0
0

@HansHassio wrote:

A Philips Hue RGB ledstrip works with Home Assistant and the code below turns it on with RGB color 0,0,255. I’ve tried to build an automation without success so far. These are my intentions:

1) switch on the strip and stays on (0,0,255) for 10 minutes
2) after above 10 minutes fade out from 0,0,255 to 0,0,0 (30 minutes)

Would be great if someone is willing to help me to solve this!

- alias: Switch on and fade out
  trigger:
  - platform: state
    entity_id: binary_sensor.remote
    to: 'on'
  action:
    service: light.turn_on
    data:
      entity_id: light.room_2
      rgb_color: [0,0,255]

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95419

Trending Articles



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