Change some Colors and some timings.

This commit is contained in:
CCOSTAN
2017-02-03 00:05:26 +00:00
parent 63cf156530
commit ad2cb5b973
6 changed files with 46 additions and 33 deletions

View File

@@ -66,6 +66,8 @@
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.tv' }}"
- condition: template
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.couch' }}"
- condition: template
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.office' }}"
- condition: template
value_template: "{{ trigger.event.data.new_state.state == 'on' }}"
- condition: template

View File

@@ -7,8 +7,11 @@
- platform: event
event_type: good_night
- platform: state
entity_id: sensor.samsungtv
entity_id:
- sensor.samsungtv
- sensor.withings_scale
state: 'Offline'
from: 'Online'
condition:
- condition: time

View File

@@ -16,10 +16,9 @@
- service: light.turn_on
entity_id:
- light.outdoor_bathroom
- light.tv_light
- light.tv_stand_light
- group.living_room_accents
- service: script.holiday_switches_on
- delay: '00:{{ (range(1, 59)|random|int) }}:00'
- delay: '00:{{ (range(1, 30)|random|int) }}:00'
- service: script.monthly_front_house_scene
######################################################################