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