Try to start automation but I missed something
When 2 users going out of zone.home start clean up
I want the Roberock will start only if 2 users not home
- id: '1577885645374'
alias: Robrock Test
description: ''
trigger:
- platform: event
event_type: ''
context:
user_id:
- 2d0290a9189b422580402ab9f829ff7a
condition:
- condition: and
conditions:
- condition: state
entity_id: device_tracker.user1
state: not_home
- condition: and
conditions:
- condition: state
entity_id: device_tracker.user2
state: not_home
action:
- data: {}
service: vacuum.start
target:
entity_id: vacuum.roborock_vacuum_a15
mode: single