mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-09-13 23:36:42 +00:00
Finish with a search and replace changing Groups to Light Groups. #764
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user