Commit fdc77f01 authored by Erick Hitter's avatar Erick Hitter

Sync with upstream

22ef6f9
parent e5623ac9
alias: Turn off kitchen light after no motion
trigger:
- platform: state
entity_id: binary_sensor.kitchen
entity_id: switch.kitchen
to: 'on'
condition:
condition: or
condition: and
conditions:
- condition: state
entity_id: switch.kitchen
entity_id: binary_sensor.kitchen
state: 'on'
action:
service: homeassistant.turn_on
......
......@@ -32,9 +32,18 @@ updater:
# Enables the frontend
frontend:
# Set recorder options
recorder:
# purge_days: 365
db_url: !secret mysql_recorder
# Enables support for tracking state changes over time.
history:
# Save events to logentries service
logentries:
token: !secret logentries_token
# Discover some devices automatically
discovery:
......
......@@ -143,7 +143,7 @@ kitchen_light_timeout:
alias: "Turn off kitchen light after 15 minutes of inactivity"
sequence:
- delay:
minutes: 15
minutes: 5
- service: switch.turn_off
data:
entity_id: switch.kitchen
......@@ -11,3 +11,5 @@ gravatar_chris:
gravatar_chris_2:
wunderground_key:
wunderground_pws_id:
logentries_token:
mysql_recorder:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment