2020-11-08 14:55:37 +00:00
|
|
|
- id: vacuum_leave
|
|
|
|
alias: '[Vaccum] Clean after leaving home'
|
|
|
|
trigger:
|
2020-11-13 20:19:36 +00:00
|
|
|
- platform: zone
|
|
|
|
entity_id: device_tracker.sm_g965f
|
2020-11-08 14:55:37 +00:00
|
|
|
zone: zone.home
|
|
|
|
event: leave
|
|
|
|
condition: []
|
|
|
|
action:
|
2020-11-16 23:55:33 +00:00
|
|
|
- service: vacuum.start
|
2020-11-08 14:55:37 +00:00
|
|
|
data: {}
|
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
mode: single
|
|
|
|
|
|
|
|
- id: vacuum_arive
|
|
|
|
alias: '[Vaccum] Stop cleaning after arrival'
|
|
|
|
trigger:
|
2020-11-13 20:19:36 +00:00
|
|
|
- platform: zone
|
|
|
|
entity_id: device_tracker.sm_g965f
|
2020-11-08 14:55:37 +00:00
|
|
|
zone: zone.home
|
|
|
|
event: enter
|
|
|
|
condition: []
|
|
|
|
action:
|
2020-11-16 23:55:33 +00:00
|
|
|
- service: vacuum.return_to_base
|
2020-11-08 14:55:37 +00:00
|
|
|
data: {}
|
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
mode: single
|