Completely Broke out the Configuration Files

This commit is contained in:
CCOSTAN
2016-10-11 20:51:10 +00:00
parent 8a3b555e6a
commit 614ba63f1e
25 changed files with 435 additions and 455 deletions

8
automation/bad_logins.yaml Executable file
View File

@@ -0,0 +1,8 @@
- alias: Login Failure
trigger:
platform: numeric_state
entity_id: sensor.badlogin
above: 1
action:
service: ifttt.trigger
data: {"event":"device_status", "value1":"Home Assistant Error: ", "value2":"Login Failure Detected"}

15
automation/device_status.yaml Executable file
View File

@@ -0,0 +1,15 @@
- alias: 'Device Status'
#This recipe sends a POST to IFTTT Maker channel. IFTTT then sends me a SMS Text with "device_status : Wii is Offline."
trigger:
- platform: state
entity_id:
- sensor.wii
- sensor.tablotv
- sensor.hue_hub
- sensor.alexa_echo
- sensor.rachio
- sensor.circle
- sensor.skybell
action:
service: ifttt.trigger
data_template: {"event":"device_status", "value1":"{{ trigger.entity_id.split('.')[1] }}", "value2":"{{ trigger.to_state.state }}"}

17
automation/good_night.yaml Executable file
View File

@@ -0,0 +1,17 @@
- alias: 'GoodNight - Away Mode'
# There is also an IFTTT recipe that shuts down all lights when Nest goes into Away mode. - event_type= Good_Night
trigger:
- platform: state
entity_id: group.family
state: 'not_home'
- platform: event
event_type: good_night
condition:
condition: state
entity_id: group.family
state: not_home
action:
service: light.turn_off
entity_id: group.all_lights

6
automation/heal_zwave.yaml Executable file
View File

@@ -0,0 +1,6 @@
- alias: Heal ZWave Nightly
trigger:
platform: time
after: '2:31:00'
action:
service: zwave.heal_network

View File

@@ -0,0 +1,7 @@
- alias: Startup Notification
trigger:
platform: event
event_type: homeassistant_start
action:
service: ifttt.trigger
data: {"event":"device_status", "value1":"Home Assistant", "value2":"Up and Running"}

16
automation/tv_time.yaml Executable file
View File

@@ -0,0 +1,16 @@
- alias: TV Time
trigger:
- platform: sun
event: sunset
offset: '+00:30:00'
- platform: event
event_type: tv_time
condition:
condition: state
entity_id: group.family
state: home
action:
service: scene.turn_on
entity_id: scene.living_room_tv_time

View File

@@ -0,0 +1,8 @@
- alias: "Update Available Notification"
trigger:
platform: state
entity_id: updater.updater
action:
service: ifttt.trigger
data: {"event":"device_status", "value1":"Home Assistant Update: ", "value2":"Available"}

View File

@@ -0,0 +1,21 @@
- alias: ZWave Enerwave Door Sensors Open
trigger:
platform: event
event_type: zwave.node_event
event_data:
object_id: enerwave_unknown_type0601_id0903_2
basic_level: 255
action:
service: light.turn_off
entity_id: light.office_lamp
- alias: ZWave Enerwave Door Sensors Closed
trigger:
platform: event
event_type: zwave.node_event
event_data:
object_id: enerwave_unknown_type0601_id0903_2
basic_level: 0
action:
service: light.turn_on
entity_id: light.office_lamp