mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-06 17:51:36 +00:00
Change some Colors and some timings.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
######################################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user