Add some Elekcity Outlets to control Kitchen Rope lights above the cabinets

This commit is contained in:
CCOSTAN 2016-11-20 20:02:58 +00:00
parent 7ce1d62a12
commit 6566ac70fe
6 changed files with 38 additions and 19 deletions

View File

@ -27,11 +27,15 @@
action: action:
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- light.fridge
- light.s1 - light.s1
- light.s4 - light.s4
data: data:
brightness: 150 brightness: 150
- service: switch.turn_on
entity_id: switch.kitchen_accents
- delay: 00:01:00
- service: switch.turn_on
entity_id: switch.kitchen_accents
- delay: 00:50:00 - delay: 00:50:00
# 6:50am now. # 6:50am now.
- service: light.turn_on - service: light.turn_on
@ -44,6 +48,8 @@
- service: light.turn_off - service: light.turn_off
entity_id: entity_id:
- group.dining_room_lights - group.dining_room_lights
- service: switch.turn_off
entity_id: switch.kitchen_accents
- delay: 01:00:00 - delay: 01:00:00
# 7:50am now. # 7:50am now.
- service: light.turn_on - service: light.turn_on
@ -56,9 +62,7 @@
# 8:30am now. # 8:30am now.
- service: light.turn_off - service: light.turn_off
entity_id: entity_id:
- group.kitchen_lights - group.interior_lights
- group.dinette_lights
data:
transition: 240

View File

@ -31,7 +31,12 @@
entity_id: group.interior_lights entity_id: group.interior_lights
- service: switch.turn_off - service: switch.turn_off
entity_id: group.amps entity_id: group.amps
- delay: 00:01:00
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.foyer_outlet entity_id: switch.foyer_outlet
- delay: 00:01:00
- service: switch.turn_off
entity_id: switch.kitchen_accents

View File

@ -24,7 +24,7 @@
before: '02:00' before: '02:00'
action: action:
service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- group.living_room_accents - group.living_room_accents
- light.living_room_slider - light.living_room_slider
@ -34,4 +34,7 @@
- light.M1_front_right - light.M1_front_right
data: data:
brightness: 150 brightness: 150
- service: switch.turn_on
entity_id: switch.kitchen_accents

View File

@ -23,6 +23,7 @@
rgb_color: [255,112,242] rgb_color: [255,112,242]
#Purple #Purple
- alias: 'Sunset Stuff off' - alias: 'Sunset Stuff off'
trigger: trigger:
- platform: sun - platform: sun
@ -42,3 +43,7 @@
entity_id: light.pool_bathroom entity_id: light.pool_bathroom
- service: light.turn_off - service: light.turn_off
entity_id: group.outdoor_lights entity_id: group.outdoor_lights
- service: switch.turn_off
entity_id: switch.kitchen_accents

View File

@ -11,6 +11,7 @@ default_view:
- group.holiday - group.holiday
- group.Bedroom_lights - group.Bedroom_lights
- group.Kitchen_lights - group.Kitchen_lights
- switch.kitchen_accents
- group.Dinette_lights - group.Dinette_lights
- group.living_room_lights - group.living_room_lights
- group.living_room_accents - group.living_room_accents
@ -35,6 +36,7 @@ Lights:
- group.holiday_lights - group.holiday_lights
- group.Bedroom_lights - group.Bedroom_lights
- group.Kitchen_lights - group.Kitchen_lights
- switch.kitchen_accents
- group.Dinette_lights - group.Dinette_lights
- group.living_room_lights - group.living_room_lights
- group.living_room_accents - group.living_room_accents

View File

@ -34,14 +34,14 @@
code_off: 5264700 code_off: 5264700
# Outlet 311_1 # Outlet 311_1
Outlet 311_1: Kitchen Accents:
protocol: 1 protocol: 1
pulselength: 186 pulselength: 186
code_on: 283955 code_on: 283955
code_off: 283964 code_off: 283964
# Outlet 311_2 # Outlet 311_2 : Responds to 311_1 as well.
Outlet 311_2: Kitchen Accent 2:
protocol: 1 protocol: 1
pulselength: 186 pulselength: 186
code_on: 284099 code_on: 284099