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: []