This is really stranger and I can’t seem to figure out what is causing this. It happened sometime this week. I have several automations and one script hat changes the color of my living room lights. One changes a light to blue. One changes a light to crimson. The other changes the lights to gold or dark orange. These were all working as of Tuesday (3/27/18). Now, these automations and scripts change the lights to Red. I’ve tried changing from “color_name” attribute to “color_rgb” but it doesn’t help. When I change the color via the Home Assistant front end, it doesn’t matter what color I choose, it changes it to the same red. I’m running HASS.IO 0.66.0 and the bulbs in question are Lightify SMART + RGBW bulbs. I’m posting my script and automations below. Any help or ideas would be appreciated.
Automations
- alias: TV Monday
trigger:
platform: time
at: '19:59:00'
condition:
- condition: state
entity_id: 'sensor.fatpants_home'
state: 'home'
- condition: time
weekday:
- mon
action:
- service: remote.turn_on
data:
entity_id: remote.Lopez
activity: 31268671
- service: light.turn_on
data:
entity_id: light.file_cabinet
brightness_pct: 100
color_name: 'crimson'
- alias: TV Tue
trigger:
platform: time
at: '19:59:00'
condition:
- condition: state
entity_id: 'sensor.fatpants_home'
state: 'home'
- condition: time
weekday:
- tue
action:
- service: remote.turn_on
data:
entity_id: remote.Lopez
activity: 31268671
- service: light.turn_on
data:
entity_id: light.file_cabinet
brightness_pct: 100
color_name: 'dodgerblue'
Scripts
movie_time:
sequence:
- service: light.turn_on
data:
entity_id: light.desk
brightness_pct: 100
rgb_color: [255,215,0]
#gold
- service: light.turn_on
data:
entity_id: light.file_cabinet
brightness_pct: 100
rgb_color: [255,215,0]
# gold
- service: light.turn_on
data:
entity_id: light.side_table
brightness_pct: 100
rgb_color: [255,140,0]
# Dark Orange
- service: light.turn_on
data:
entity_id: light.couch_lamp
brightness_pct: 1
- service: light.turn_off
entity_id: light.kitchen
- service: light.turn_off
entity_id: light.dining_room
- service: light.turn_off
entity_id: light.entry_way
- service: light.turn_off
entity_id: light.hallway
- service: light.turn_off
entity_id: light.laundry_room
- service: remote.turn_on
data:
entity_id: remote.Lopez
activity: 28259458