Added Arlo mode changes based on presence

This commit is contained in:
Jeffrey Stone 2019-10-05 20:11:58 -04:00
parent 0d773395a3
commit 9daed71044
1 changed files with 16 additions and 6 deletions

View File

@ -1,7 +1,7 @@
- id: washer_running - id: washer_running
alias: Washer Running alias: Washer Running
trigger: trigger:
- above: 10 - above: 5
entity_id: sensor.washer entity_id: sensor.washer
platform: numeric_state platform: numeric_state
action: action:
@ -100,6 +100,8 @@
entity_id: scene.diminshed_livingroom_lighting entity_id: scene.diminshed_livingroom_lighting
- service: scene.turn_on - service: scene.turn_on
entity_id: scene.diminished_kitchen_lighting entity_id: scene.diminished_kitchen_lighting
- service: alarm_control_panel.alarm_arm_home
entity_id: alarm_control_panel.ah_base_station
- id: good_morning - id: good_morning
alias: Good Morning alias: Good Morning
@ -147,6 +149,8 @@
entity_id: switch.rainbow_light_3 entity_id: switch.rainbow_light_3
- service: light.turn_on - service: light.turn_on
entity_id: light.table_lamp_2 entity_id: light.table_lamp_2
- service: alarm_control_panel.alarm_arm_away
entity_id: alarm_control_panel.ah_base_station
- id: jeff_lights_out - id: jeff_lights_out
alias: Jeff lights out alias: Jeff lights out
initial_state: true initial_state: true
@ -298,7 +302,7 @@
lights. ", "I see the sun! Time to turn off the outside lights at Anchorage lights. ", "I see the sun! Time to turn off the outside lights at Anchorage
House. ", "Dawn has broken at Anchorage House. Turning off the outside lights. House. ", "Dawn has broken at Anchorage House. Turning off the outside lights.
" ] | random }}' " ] | random }}'
- service: alarm_control_panel.alarm_disarm - service: alarm_control_panel.alarm_arm_home
entity_id: alarm_control_panel.ah_base_station entity_id: alarm_control_panel.ah_base_station
- id: inside_on_sunset - id: inside_on_sunset
@ -497,7 +501,7 @@
platform: time platform: time
condition: condition:
- condition: state - condition: state
entity_id: binary_sensor.garage_door entity_id: binary_sensor.garage_door_contact_2
state: 'on' state: 'on'
action: action:
- data: - data:
@ -507,7 +511,7 @@
alias: Garage Closed alias: Garage Closed
initial_state: true initial_state: true
trigger: trigger:
- entity_id: binary_sensor.garage_door - entity_id: binary_sensor.garage_door_contact_2
from: 'on' from: 'on'
platform: state platform: state
to: 'off' to: 'off'
@ -544,6 +548,9 @@
- condition: state - condition: state
entity_id: switch.upstairs_fan entity_id: switch.upstairs_fan
state: 'on' state: 'on'
- condition: state
entity_id: media_player.tsr_6750_a3ed2f
state: 'on'
action: action:
- data: - data:
entity_id: switch.upstairs_fan entity_id: switch.upstairs_fan
@ -588,12 +595,14 @@
alias: Turn Off HA Speaker alias: Turn Off HA Speaker
trigger: trigger:
- platform: state - platform: state
entity_id: media_player.guest_tv entity_id: media_player.theater
from: 'playing' from: 'playing'
to: 'idle' to: 'idle'
action: action:
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.ha_speaker entity_id: switch.ha_speaker
- service: media_player.turn_off
entity_id: media_player.theater
initial_state: true initial_state: true
########################## ##########################
@ -604,7 +613,8 @@
initial_state: true initial_state: true
trigger: trigger:
- platform: state - platform: state
entity_id: updater.updater entity_id: binary_sensor.updater
to: 'on'
action: action:
- service: input_boolean.turn_on - service: input_boolean.turn_on
entity_id: input_boolean.new_ha_announcement entity_id: input_boolean.new_ha_announcement