If we have guests, let there be light!

This commit is contained in:
CCOSTAN
2016-10-18 01:09:31 +00:00
parent 6293c7a50b
commit 7c66f96cc6
6 changed files with 35 additions and 30 deletions

View File

@@ -15,13 +15,14 @@
state: not_home
condition:
- condition: state
entity_id: group.family
state: not_home
- condition:
platform: state
entity_id: input_boolean.guest_mode
state: 'off'
condition: and
conditions:
- condition: state
entity_id: group.family
state: not_home
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
- service: light.turn_off

View File

@@ -1,4 +1,21 @@
# Here is a collection of automations for logging IFTTT supported devices in LogBook.
###################################
## LOG IFTTT Stuff - Rachio
###################################
- alias: 'Log Sprinkler Activity'
hide_entity: True
trigger:
- platform: event
event_type: rachio_water_stops
action:
service: logbook.log
data:
name: "Rachio Sprinkler:"
message: "The Lawn was watered just now."
###################################
## LOG IFTTT Stuff - SkyBell
###################################
- alias: 'Log SkyBell Pressed Activity'
hide_entity: True

View File

@@ -12,11 +12,13 @@
state: home
condition:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition: time
before: '23:45'
condition: and
conditions:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition: time
before: '23:45'
action:
service: light.turn_on

View File

@@ -1,13 +0,0 @@
# Here is a collection of automations for logging IFTTT supported devices in LogBook.
- alias: 'Log Sprinkler Activity'
hide_entity: True
trigger:
- platform: event
event_type: rachio_water_stops
action:
service: logbook.log
data:
name: "Rachio Sprinkler:"
message: "The Lawn was watered just now."

View File

@@ -21,8 +21,7 @@
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition:
platform: state
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'

View File

@@ -10,8 +10,7 @@
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition:
platform: state
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'