2020-11-08 15:55:37 +01:00
|
|
|
- id: vacuum_leave
|
2021-01-14 02:18:07 +01:00
|
|
|
alias: '[Vacuum] Clean after leaving home'
|
2020-11-08 15:55:37 +01:00
|
|
|
trigger:
|
2021-05-25 17:08:08 +02:00
|
|
|
- platform: state
|
|
|
|
entity_id: input_select.home_mode
|
|
|
|
to: Away
|
2020-11-08 15:55:37 +01:00
|
|
|
action:
|
2020-11-17 00:55:33 +01:00
|
|
|
- service: vacuum.start
|
2020-11-08 15:55:37 +01:00
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
mode: single
|
|
|
|
|
|
|
|
- id: vacuum_arive
|
2021-01-14 02:18:07 +01:00
|
|
|
alias: '[Vacuum] Stop cleaning after arrival'
|
2020-11-08 15:55:37 +01:00
|
|
|
trigger:
|
2021-05-25 17:08:08 +02:00
|
|
|
- platform: state
|
|
|
|
entity_id: input_select.home_mode
|
|
|
|
from: Away
|
|
|
|
to: Home
|
2020-11-08 15:55:37 +01:00
|
|
|
action:
|
2021-01-14 02:18:07 +01:00
|
|
|
- service: vacuum.pause
|
|
|
|
entity_id: vacuum.robot_vacuum
|
2021-05-25 17:08:08 +02:00
|
|
|
- delay:
|
|
|
|
seconds: 15
|
2020-11-17 00:55:33 +01:00
|
|
|
- service: vacuum.return_to_base
|
2020-11-08 15:55:37 +01:00
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
mode: single
|