Commit fdc77f01 authored by Erick Hitter's avatar Erick Hitter

Sync with upstream

22ef6f9
parent e5623ac9
alias: Turn off kitchen light after no motion alias: Turn off kitchen light after no motion
trigger: trigger:
- platform: state - platform: state
entity_id: binary_sensor.kitchen entity_id: switch.kitchen
to: 'on' to: 'on'
condition: condition:
condition: or condition: and
conditions: conditions:
- condition: state - condition: state
entity_id: switch.kitchen entity_id: binary_sensor.kitchen
state: 'on' state: 'on'
action: action:
service: homeassistant.turn_on service: homeassistant.turn_on
......
...@@ -32,9 +32,18 @@ updater: ...@@ -32,9 +32,18 @@ updater:
# Enables the frontend # Enables the frontend
frontend: frontend:
# Set recorder options
recorder:
# purge_days: 365
db_url: !secret mysql_recorder
# Enables support for tracking state changes over time. # Enables support for tracking state changes over time.
history: history:
# Save events to logentries service
logentries:
token: !secret logentries_token
# Discover some devices automatically # Discover some devices automatically
discovery: discovery:
......
...@@ -143,7 +143,7 @@ kitchen_light_timeout: ...@@ -143,7 +143,7 @@ kitchen_light_timeout:
alias: "Turn off kitchen light after 15 minutes of inactivity" alias: "Turn off kitchen light after 15 minutes of inactivity"
sequence: sequence:
- delay: - delay:
minutes: 15 minutes: 5
- service: switch.turn_off - service: switch.turn_off
data: data:
entity_id: switch.kitchen entity_id: switch.kitchen
...@@ -11,3 +11,5 @@ gravatar_chris: ...@@ -11,3 +11,5 @@ gravatar_chris:
gravatar_chris_2: gravatar_chris_2:
wunderground_key: wunderground_key:
wunderground_pws_id: 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