mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-15 14:16:08 +00:00
Fine tunr the templates a bit.
This commit is contained in:
parent
89c5b91509
commit
a493dd774d
@ -1 +1 @@
|
||||
0.32.0
|
||||
0.32.2
|
@ -12,6 +12,11 @@
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.foyer_outlet
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.outdoor_foyer
|
||||
brightness: 200
|
||||
rgb_color: [61,178,112]
|
||||
|
||||
- alias: 'Sunset Stuff off'
|
||||
trigger:
|
||||
@ -24,4 +29,6 @@
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.foyer_outlet
|
||||
- service: light.turn_off
|
||||
entity_id: light.outdoor_foyer
|
||||
|
@ -10,6 +10,10 @@
|
||||
after: '08:00:00'
|
||||
- condition: time
|
||||
before: '20:00:00'
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('.')[1] != 'tv_light' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('.')[1] != 'tv_stand_light' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('.')[0] == 'light' }}"
|
||||
- condition: template
|
||||
|
@ -17,6 +17,10 @@
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: home
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('.')[1] != 'tv_light' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('.')[1] != 'tv_stand_light' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('.')[0] == 'light' }}"
|
||||
- condition: template
|
||||
|
@ -24,8 +24,8 @@ Living Room lights:
|
||||
Living Room Accents:
|
||||
entities:
|
||||
- light.couch_1
|
||||
- light.couch_2
|
||||
- light.couch_tv
|
||||
- light.tv_light
|
||||
- light.tv_stand
|
||||
|
||||
Dinette lights:
|
||||
entities:
|
||||
|
Loading…
x
Reference in New Issue
Block a user