Finish with a search and replace changing Groups to Light Groups. #764
This commit is contained in:
parent
2d58c0f7ea
commit
4d56f3764d
|
@ -30,10 +30,10 @@
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id: switch.back_landscaping
|
entity_id: switch.back_landscaping
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id: group.outdoor_pool_lights
|
entity_id: light.outdoor_pool_lights
|
||||||
data:
|
data:
|
||||||
color_temp: 369
|
color_temp: 369
|
||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
{{ states.binary_sensor.MCU2_GPIO12.state == 'off' }}
|
{{ states.binary_sensor.MCU2_GPIO12.state == 'off' }}
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: group.outdoor_pool_lights
|
entity_id: light.outdoor_pool_lights
|
||||||
|
|
|
@ -7,14 +7,14 @@
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.hallway
|
- light.hallway
|
||||||
- group.hallway_lights
|
- light.hallway_lights
|
||||||
- group.foyer_lights
|
- light.foyer_lights
|
||||||
to: 'on'
|
to: 'on'
|
||||||
for: '00:20:00'
|
for: '00:20:00'
|
||||||
|
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.upstairs
|
- light.upstairs_lights
|
||||||
to: 'on'
|
to: 'on'
|
||||||
for: '02:00:00'
|
for: '02:00:00'
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_on
|
- service: homeassistant.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.dining_room_lights
|
- light.dining_room_lights
|
||||||
- light.fridge
|
- light.fridge
|
||||||
- light.k2
|
- light.k2
|
||||||
- light.k3
|
- light.k3
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
- light.d2
|
- light.d2
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.dining_room_lights
|
- light.dining_room_lights
|
||||||
|
|
||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
{{ states.sun.sun.state == 'above_horizon' }}
|
{{ states.sun.sun.state == 'above_horizon' }}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
apns_id: 'Startup'
|
apns_id: 'Startup'
|
||||||
|
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: group.hallway_lights
|
entity_id: light.hallway_lights
|
||||||
|
|
||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
data:
|
data:
|
||||||
|
|
|
@ -39,8 +39,8 @@
|
||||||
- service: homeassistant.turn_off
|
- service: homeassistant.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.exterior_lights
|
- group.exterior_lights
|
||||||
- group.outdoor_front_lights
|
- light.outdoor_front_lights
|
||||||
- group.outdoor_pool_lights
|
- light.outdoor_pool_lights
|
||||||
- group.outdoor_xmas_lights
|
- group.outdoor_xmas_lights
|
||||||
|
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.master_bathroom_accents
|
- group.master_bathroom_accents
|
||||||
- group.exterior_lights
|
- group.exterior_lights
|
||||||
- group.outdoor_front_lights
|
- light.outdoor_front_lights
|
||||||
- group.outdoor_xmas_lights
|
- group.outdoor_xmas_lights
|
||||||
|
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
- switch.living_room_outlet
|
- switch.living_room_outlet
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.living_room_accents
|
- light.living_room_accents
|
||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
{{ is_state('group.garadget', 'closed') }}
|
{{ is_state('group.garadget', 'closed') }}
|
||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
|
|
|
@ -21,6 +21,6 @@
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.kitchen_lights
|
- light.kitchen_lights
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id: switch.lr_amp
|
entity_id: switch.lr_amp
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
- alias: Kitchen lights on - Accent lights off
|
- alias: Kitchen lights on - Accent lights off
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: group.kitchen_lights
|
entity_id: light.kitchen_lights
|
||||||
to: 'on'
|
to: 'on'
|
||||||
for: '00:05:00'
|
for: '00:05:00'
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
- alias: Kitchen lights off - turn on Accent lights
|
- alias: Kitchen lights off - turn on Accent lights
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: group.kitchen_lights
|
entity_id: light.kitchen_lights
|
||||||
to: 'off'
|
to: 'off'
|
||||||
for: '00:05:00'
|
for: '00:05:00'
|
||||||
- platform: state
|
- platform: state
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
- condition: sun
|
- condition: sun
|
||||||
after: 'sunset'
|
after: 'sunset'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: group.kitchen_lights
|
entity_id: light.kitchen_lights
|
||||||
state: 'off'
|
state: 'off'
|
||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
entity_id: scene.front_full_brightness
|
entity_id: scene.front_full_brightness
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.living_room_accents
|
- light.living_room_accents
|
||||||
data_template:
|
data_template:
|
||||||
# Red if Open, Gold if Closed
|
# Red if Open, Gold if Closed
|
||||||
rgb_color: >
|
rgb_color: >
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
- service: script.monthly_color_scene
|
- service: script.monthly_color_scene
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.living_room_accents
|
- light.living_room_accents
|
||||||
data_template:
|
data_template:
|
||||||
# Red if Open, Gold if Closed
|
# Red if Open, Gold if Closed
|
||||||
rgb_color: >
|
rgb_color: >
|
||||||
|
|
|
@ -12,10 +12,10 @@
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.dinette_lights
|
- light.dinette_lights
|
||||||
- group.kitchen_lights
|
- light.kitchen_lights
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.living_room_lights
|
- light.living_room_lights
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id: input_boolean.meal_time
|
entity_id: input_boolean.meal_time
|
||||||
|
|
|
@ -43,8 +43,8 @@
|
||||||
|
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.dinette_lights
|
- light.dinette_lights
|
||||||
- group.kitchen_lights
|
- light.kitchen_lights
|
||||||
|
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id: group.kitchen_Accents
|
entity_id: group.kitchen_Accents
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id: group.upstairs
|
entity_id: light.upstairs_lights
|
||||||
|
|
||||||
- alias: 'Upstairs Light Turn off'
|
- alias: 'Upstairs Light Turn off'
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -29,4 +29,4 @@
|
||||||
|
|
||||||
action:
|
action:
|
||||||
service: light.turn_off
|
service: light.turn_off
|
||||||
entity_id: group.upstairs
|
entity_id: light.upstairs_lights
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
action:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.dinette_lights
|
- light.dinette_lights
|
||||||
- group.kitchen_lights
|
- light.kitchen_lights
|
||||||
- group.living_room_lights
|
- light.living_room_lights
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.office_lamp
|
- light.office_lamp
|
||||||
|
|
|
@ -40,10 +40,9 @@ cloud:
|
||||||
alexa:
|
alexa:
|
||||||
filter:
|
filter:
|
||||||
include_entities:
|
include_entities:
|
||||||
- group.outdoor_pool_lights
|
- group.exterior_lights
|
||||||
- group.Exterior_Lights
|
- light.outdoor_pool_lights
|
||||||
- group.outdoor_pool_lights
|
- light.outdoor_front_lights
|
||||||
- group.outdoor_front_lights
|
|
||||||
- group.landscaping
|
- group.landscaping
|
||||||
- group.master_bathroom_accents
|
- group.master_bathroom_accents
|
||||||
- group.kitchen_accents
|
- group.kitchen_accents
|
||||||
|
@ -69,7 +68,7 @@ cloud:
|
||||||
- input_boolean
|
- input_boolean
|
||||||
- camera
|
- camera
|
||||||
# entity_config:
|
# entity_config:
|
||||||
# group.kitchen_lights:
|
# light.kitchen_lights:
|
||||||
# display_categories: LIGHT
|
# display_categories: LIGHT
|
||||||
|
|
||||||
http:
|
http:
|
||||||
|
|
|
@ -23,7 +23,7 @@ Exterior_Lights:
|
||||||
entities:
|
entities:
|
||||||
- light.outdoor_bathroom
|
- light.outdoor_bathroom
|
||||||
- light.outside_pool_lights
|
- light.outside_pool_lights
|
||||||
- group.outdoor_pool_lights
|
- light.outdoor_pool_lights
|
||||||
- group.outdoor_front_lights
|
- light.outdoor_front_lights
|
||||||
- group.landscaping
|
- group.landscaping
|
||||||
- group.outdoor_xmas_lights
|
- group.outdoor_xmas_lights
|
||||||
|
|
|
@ -288,7 +288,7 @@ automation:
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.living_room_accents
|
- light.living_room_accents
|
||||||
data_template:
|
data_template:
|
||||||
rgb_color: >
|
rgb_color: >
|
||||||
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
||||||
|
|
|
@ -13,14 +13,14 @@
|
||||||
|
|
||||||
- name: month_standard_colors
|
- name: month_standard_colors
|
||||||
entities:
|
entities:
|
||||||
group.outdoor_front_lights:
|
light.outdoor_front_lights:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
#color_name: 'Gold'
|
#color_name: 'Gold'
|
||||||
rgb_color: [255,223,0]
|
rgb_color: [255,223,0]
|
||||||
|
|
||||||
- name: front_full_brightness
|
- name: front_full_brightness
|
||||||
entities:
|
entities:
|
||||||
group.outdoor_front_lights:
|
light.outdoor_front_lights:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
#color_name: 'White'
|
#color_name: 'White'
|
||||||
rgb_color: [255,255,255]
|
rgb_color: [255,255,255]
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
|
|
||||||
- name: month_valentine_colors
|
- name: month_valentine_colors
|
||||||
entities:
|
entities:
|
||||||
group.outdoor_front_lights:
|
light.outdoor_front_lights:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
#color_name: 'Crimson'
|
#color_name: 'Crimson'
|
||||||
rgb_color: [220,20,60]
|
rgb_color: [220,20,60]
|
||||||
|
@ -114,14 +114,14 @@
|
||||||
|
|
||||||
- name: month_st_patty_colors
|
- name: month_st_patty_colors
|
||||||
entities:
|
entities:
|
||||||
group.outdoor_front_lights:
|
light.outdoor_front_lights:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
#color_name: 'Green'
|
#color_name: 'Green'
|
||||||
rgb_color: [0,128,0]
|
rgb_color: [0,128,0]
|
||||||
|
|
||||||
- name: month_pi_colors
|
- name: month_pi_colors
|
||||||
entities:
|
entities:
|
||||||
group.outdoor_front_lights:
|
light.outdoor_front_lights:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: [3,14,159]
|
rgb_color: [3,14,159]
|
||||||
|
|
||||||
|
@ -244,7 +244,7 @@
|
||||||
|
|
||||||
- name: month_mothers_day_colors
|
- name: month_mothers_day_colors
|
||||||
entities:
|
entities:
|
||||||
group.outdoor_front_lights:
|
light.outdoor_front_lights:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
#color_name: 'Lavender'
|
#color_name: 'Lavender'
|
||||||
rgb_color: [244,187,255]
|
rgb_color: [244,187,255]
|
||||||
|
@ -317,7 +317,7 @@
|
||||||
|
|
||||||
- name: month_thanksgiving_colors
|
- name: month_thanksgiving_colors
|
||||||
entities:
|
entities:
|
||||||
group.outdoor_front_lights:
|
light.outdoor_front_lights:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
#color_name: 'orange'
|
#color_name: 'orange'
|
||||||
rgb_color: [255,165,0]
|
rgb_color: [255,165,0]
|
||||||
|
|
|
@ -11,7 +11,7 @@ emergency:
|
||||||
# Switch all outside front lights to Red to indicate emergency
|
# Switch all outside front lights to Red to indicate emergency
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.outdoor_front_lights
|
- light.outdoor_front_lights
|
||||||
data:
|
data:
|
||||||
#color_name: 'red'
|
#color_name: 'red'
|
||||||
rgb_color: [255,0,0]
|
rgb_color: [255,0,0]
|
||||||
|
|
|
@ -32,14 +32,14 @@ front_house_motion:
|
||||||
data:
|
data:
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.outdoor_bathroom
|
- light.outdoor_bathroom
|
||||||
- group.outdoor_pool_lights
|
- light.outdoor_pool_lights
|
||||||
brightness: 255
|
brightness: 255
|
||||||
- service: script.dog_bark
|
- service: script.dog_bark
|
||||||
- delay: '00:{{ range(0,1) | random | int }}{{ range(0,9) | random | int }}:00'
|
- delay: '00:{{ range(0,1) | random | int }}{{ range(0,9) | random | int }}:00'
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.outdoor_front_lights
|
- light.outdoor_front_lights
|
||||||
- group.outdoor_pool_lights
|
- light.outdoor_pool_lights
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id: light.outdoor_bathroom
|
entity_id: light.outdoor_bathroom
|
||||||
data:
|
data:
|
||||||
|
|
|
@ -7,8 +7,8 @@ rules:
|
||||||
entities:
|
entities:
|
||||||
- input_boolean.guest_mode
|
- input_boolean.guest_mode
|
||||||
- input_boolean.good_night
|
- input_boolean.good_night
|
||||||
- group.kitchen_lights
|
- light.kitchen_lights
|
||||||
- group.living_room_lights
|
- light.living_room_lights
|
||||||
|
|
||||||
states:
|
states:
|
||||||
- state: 'on'
|
- state: 'on'
|
||||||
|
|
Loading…
Reference in New Issue