From fc371172e0b6cd808dd228b0d634a8cb638f38c5 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Thu, 21 Nov 2019 21:33:21 -0500 Subject: [PATCH] Moving automations to new arlo integration via HACS --- config/automations.yaml | 19 +++++++++---------- config/packages/presence.yaml | 13 +++++++++---- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/config/automations.yaml b/config/automations.yaml index 1e49bf9..a20ca2c 100644 --- a/config/automations.yaml +++ b/config/automations.yaml @@ -108,8 +108,10 @@ entity_id: scene.diminshed_livingroom_lighting - service: scene.turn_on entity_id: scene.diminished_kitchen_lighting - - service: alarm_control_panel.alarm_arm_home - entity_id: alarm_control_panel.ah_base_station + - service: alarm_control_panel.aarlo_set_mode + data: + entity_id: alarm_control_panel.aarlo_ah_base_station + mode: 'home' - id: good_morning alias: Good Morning @@ -155,8 +157,7 @@ entity_id: switch.0xf0d1b80000052281_switch # Rainbow Light - service: scene.turn_on entity_id: scene.skylar_lamp_25 - - service: alarm_control_panel.alarm_arm_away - entity_id: alarm_control_panel.ah_base_station + - id: jeff_lights_out alias: Jeff lights out initial_state: true @@ -304,8 +305,6 @@ "/config/www/tweet_images/bright.jpg", "/config/www/tweet_images/light.jpg", "/config/www/tweet_images/lamp2.jpg"] | random }} - - service: alarm_control_panel.alarm_arm_away - entity_id: alarm_control_panel.ah_base_station - id: sunset alias: Sunset @@ -314,8 +313,10 @@ - platform: sun event: sunset action: - - service: alarm_control_panel.alarm_arm_away - entity_id: alarm_control_panel.ah_base_station + - service: alarm_control_panel.aarlo_set_mode + data: + entity_id: alarm_control_panel.aarlo_ah_base_station + mode: 'Armed' - service: script.ah_report data: call_interuption: 1 @@ -344,8 +345,6 @@ {{ [ "/config/www/tweet_images/sunrise.jpg", "/config/www/tweet_images/sunrise3.jpg", "/config/www/tweet_images/sunrise2.jpg"] | random }} - - service: alarm_control_panel.alarm_arm_home - entity_id: alarm_control_panel.ah_base_station - id: inside_on_sunset alias: Inside on at Sunset diff --git a/config/packages/presence.yaml b/config/packages/presence.yaml index 30d49a3..14bf583 100755 --- a/config/packages/presence.yaml +++ b/config/packages/presence.yaml @@ -272,8 +272,10 @@ automation: - service: script.appliances_on - service: script.standby - service: script.washer_finished_notification_audible - - service: alarm_control_panel.alarm_arm_home - entity_id: alarm_control_panel.ah_base_station + - service: alarm_control_panel.aarlo_set_mode + data: + entity_id: alarm_control_panel.aarlo_ah_base_station + mode: 'home' - service: script.family_is_home initial_state: true @@ -298,8 +300,10 @@ automation: - service: script.lockdown - service: script.lockdown_issue - service: script.all_fans_off - - service: alarm_control_panel.alarm_arm_away - entity_id: alarm_control_panel.ah_base_station + - service: alarm_control_panel.aarlo_set_mode + data: + entity_id: alarm_control_panel.aarlo_ah_base_station + mode: 'Armed' - id: jeff_is_home alias: Jeff is Home @@ -381,6 +385,7 @@ automation: entity_id: sensor.family_status state: Home action: + - service: script.family_is_home - service: script.ah_report data_template: welcome_home: >