File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 event_type : state_changed
1313
1414 condition :
15+ - condition : template
16+ value_template : >
17+ {{ trigger.event.data.old_state is not none
18+ and trigger.event.data.new_state is not none
19+ and trigger.event.data.old_state.state == 'off'
20+ and trigger.event.data.new_state.state == 'on' }}
1521 - condition : state
1622 entity_id : group.family
1723 state : ' home'
1824 - condition : state
1925 entity_id : input_boolean.alert_mode
2026 state : ' off'
21- - condition : template
22- value_template : " {{ trigger.event.data is not none }}"
2327 - condition : template
2428 value_template : " {{ trigger.event.data.entity_id is not none }}"
2529 - condition : template
2630 value_template : " {{ trigger.event.data.entity_id.split('.')[0] == 'light' }}"
27- # - condition: template
28- # value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.tv' }}"
2931 - condition : template
3032 value_template : " {{ trigger.event.data.entity_id.split('_')[0] != 'light.couch' }}"
3133 - condition : template
3436 value_template : " {{ trigger.event.data.entity_id.split('_')[0] != 'light.flood_2' }}"
3537 - condition : template
3638 value_template : " {{ trigger.event.data.entity_id.split('_')[0] != 'light.treeflood' }}"
37- # - condition: template
38- # value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.led' }}"
3939 - condition : template
4040 value_template : " {{ trigger.event.data.entity_id.split('_')[1] != 'screensaver' }}"
41- - condition : template
42- value_template : " {{ trigger.event.data.new_state.state == 'on' }}"
43- - condition : template
44- value_template : " {{ trigger.event.data.old_state.state == 'off' }}"
4541
4642 action :
4743 - service : light.turn_on
Original file line number Diff line number Diff line change @@ -55,9 +55,16 @@ cloud:
5555 - cover
5656 - input_boolean
5757 - camera
58+ exclude_entities :
59+ - light.m1_back_left
60+ - light.m1_back_right
61+ - light.m1_front_left
62+ - light.m1_front_right
63+ - light.main_slider
64+ - light.living_room
5865 entity_config :
5966 light.living_room_lights :
60- name : Living Room Lights
67+ name : Living Room Color Lights
6168 light.main_slider :
6269 name : Living Room Slider
6370
You can’t perform that action at this time.
0 commit comments