Below is my current yaml to run my roombas. Currently they run mon-fri when everyone leaves home or at noon but only if no one is watching TV. I’m trying to figure out how to make this only run once a day. Would be ideal to also continually check and if tv is stopped before 5pm they would run. Still don’t have my brain wrapped around templates or where they’re even created.
alias: Vacuum house
description: ''
trigger:
- platform: time
at: '12:00:00'
id: time
- platform: state
to: not_home
from: home
for:
hours: 0
minutes: 15
seconds: 0
entity_id: group.someones_home
condition:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
- condition: device
type: is_off
device_id: 3ec9399460292fe04d3797b47827b734
entity_id: remote.living_room
domain: remote
action:
- scene: scene.vacuum
mode: single