Setting up Halloween lights

pull/76/head
CCOSTAN 9 years ago
parent 0f4041c31d
commit 5fdc5762da

@ -0,0 +1,9 @@
- alias: 'Carlo has left the building'
trigger:
- platform: state
entity_id: device_tracker.carlo
state: not_home
action:
- service: light.turn_off
entity_id: light.office_lamp

@ -1,6 +1,5 @@
- alias: 'Device Status' - alias: 'Device Status'
hide_entity: True hide_entity: True
#This recipe sends a POST to IFTTT Maker channel. IFTTT then sends me a SMS Text with "device_status : Wii is Offline."
trigger: trigger:
- platform: state - platform: state
entity_id: entity_id:

@ -0,0 +1,23 @@
- alias: 'Holiday Stuff on'
trigger:
- platform: sun
event: sunset
- platform: event
event_type: halloween_lights_on
action:
- service: switch.turn_on
entity_id: switch.halloween_lights_den
- alias: 'Holiday Stuff off'
trigger:
- platform: sun
event: sunrise
offset: '-03:00:00'
- platform: event
event_type: halloween_lights_off
action:
- service: switch.turn_on
entity_id: switch.halloween_lights_den

@ -18,3 +18,4 @@
action: action:
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.living_room_amp entity_id: switch.living_room_amp

@ -2,12 +2,14 @@
trigger: trigger:
- platform: sun - platform: sun
event: sunset event: sunset
offset: '+00:30:00' offset: '+01:00:00'
- platform: event - platform: event
event_type: tv_time event_type: tv_time
- platform: state - platform: state
entity_id: sensor.samsungtv entity_id: sensor.samsungtv
state: Online state: Online
- platform: time
after: '20:00:00'
condition: condition:
condition: and condition: and
@ -24,6 +26,8 @@
- condition: state - condition: state
entity_id: input_boolean.guest_mode entity_id: input_boolean.guest_mode
state: 'off' state: 'off'
- condition: time
after: '20:00:00'
action: action:
service: scene.turn_on service: scene.turn_on

@ -1,4 +1,4 @@
- alias: TV Time - alias: TV Time off
trigger: trigger:
- platform: state - platform: state
entity_id: sensor.samsungtv entity_id: sensor.samsungtv

@ -35,6 +35,7 @@ Dinette:
Den: Den:
entities: entities:
- light.den_lamp - light.den_lamp
- switch.halloween_lights
Foyer: Foyer:
entities: entities:

@ -8,7 +8,7 @@
code_on: 5265155 code_on: 5265155
code_off: 5265164 code_off: 5265164
# Outlet 2 # Outlet 2
Bathroom_Amp: Halloween_Lights_Den:
protocol: 1 protocol: 1
pulselength: 186 pulselength: 186
code_on: 5264835 code_on: 5264835

Loading…
Cancel
Save

Powered by TurnKey Linux.