liamp
(Liam)
January 25, 2023, 3:16am
1
I have an automation that runs my vacuum in the room the litter robot is in every two hours, but what I want is to only run the vacuum in the room after the cat litter robot runs X amount of times.
What trigger or condition should I use to make this happen?
NathanCu
(Nathan Curtis)
January 25, 2023, 3:18am
2
We will need to know more about the litrer robot and what it offers before anyone van answer that.
Model number matters…
liamp
(Liam)
January 25, 2023, 1:10pm
3
It is a litter robot 3 by Whisker.
Here is the automation I have that runs every two hours between 10am and 10pm (unless it is already in process of vacuuming.)
description: ""
trigger:
- platform: device
device_id: (Device ID removed)
domain: vacuum
entity_id: vacuum.cat_poop_bot_litter_box
type: cleaning
for:
hours: 2
minutes: 0
seconds: 0
condition:
- condition: time
before: "22:00:00"
after: "10:00:00"
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
- condition: not
conditions:
- condition: device
device_id: (Device ID removed)
domain: vacuum
entity_id: vacuum.vacuum
type: is_cleaning
action:
- service: script.vacuum_office
data: {}
mode: single