Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
id: "1780000000000"
alias: "robot_vacuum: return when someone is approaching home"
description: ""
trigger:
- platform: numeric_state
entity_id: proximity.home
below: 2
condition:
- condition: state
entity_id: proximity.home
attribute: dir_of_travel
state: towards
- condition: state
entity_id: vacuum.crystal
state: cleaning
action:
- service: vacuum.return_to_base
target:
entity_id: vacuum.crystal
mode: single
Loading