From c39a22b4e1098a14ff09c0863c13b1bdc5615c92 Mon Sep 17 00:00:00 2001 From: pgrondek Date: Fri, 13 Nov 2020 21:19:36 +0100 Subject: [PATCH] Fix vacuum automations --- automations/files/vacuum.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/automations/files/vacuum.yaml b/automations/files/vacuum.yaml index c9a8144..974aa5d 100644 --- a/automations/files/vacuum.yaml +++ b/automations/files/vacuum.yaml @@ -1,8 +1,8 @@ - id: vacuum_leave alias: '[Vaccum] Clean after leaving home' trigger: - - platform: geo_location - source: sensor.sm_g965f_geocoded_location + - platform: zone + entity_id: device_tracker.sm_g965f zone: zone.home event: leave condition: [] @@ -15,8 +15,8 @@ - id: vacuum_arive alias: '[Vaccum] Stop cleaning after arrival' trigger: - - platform: geo_location - source: sensor.sm_g965f_geocoded_location + - platform: zone + entity_id: device_tracker.sm_g965f zone: zone.home event: enter condition: []