mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-19 07:47:27 +00:00
If we have guests, let there be light!
This commit is contained in:
parent
6293c7a50b
commit
7c66f96cc6
@ -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
|
||||
|
42
automation/ifttt_logger.yaml
Executable file
42
automation/ifttt_logger.yaml
Executable file
@ -0,0 +1,42 @@
|
||||
###################################
|
||||
## 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
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: skybell_pressed
|
||||
|
||||
action:
|
||||
service: logbook.log
|
||||
data:
|
||||
name: "SkyBell HD Doorbell:"
|
||||
message: "Someone Pressed the Doorbell."
|
||||
|
||||
- alias: 'Log SkyBell Motion detection'
|
||||
hide_entity: True
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: skybell_motion
|
||||
|
||||
action:
|
||||
service: logbook.log
|
||||
data:
|
||||
name: "SkyBell HD Doorbell:"
|
||||
message: "Someone is by the door."
|
@ -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
|
||||
|
@ -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."
|
@ -1,25 +0,0 @@
|
||||
# Here is a collection of automations for logging IFTTT supported devices in LogBook.
|
||||
|
||||
- alias: 'Log SkyBell Pressed Activity'
|
||||
hide_entity: True
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: skybell_pressed
|
||||
|
||||
action:
|
||||
service: logbook.log
|
||||
data:
|
||||
name: "SkyBell HD Doorbell:"
|
||||
message: "Someone Pressed the Doorbell."
|
||||
|
||||
- alias: 'Log SkyBell Motion detection'
|
||||
hide_entity: True
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: skybell_motion
|
||||
|
||||
action:
|
||||
service: logbook.log
|
||||
data:
|
||||
name: "SkyBell HD Doorbell:"
|
||||
message: "Someone is by the door."
|
@ -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'
|
||||
|
||||
|
@ -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'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user