#Continuous automation

1 messages · Page 1 of 1 (latest)

limpid aurora
#

How do I make an auto close automation that won’t close my garage door if I’m in the garage but will if I’m not?

I have one that will close the garage door if it goes to open for 5 minutes and I’m not in the garage. But if it doesn’t fire because I’m in the garage then it stops.

cinder yew
#

It's not clear to me what you're actually looking for. Is the problem that you want the door to close once you finally exit the garage after it's been open for at least 5 minutes?

limpid aurora
#

Yes or if I’m sitting right outside the garage and it thinks I’m in the zone while waiting for wife like today. I want it to close eventually

cinder yew
#

One option is using a wait_template in the action that waits for you to leave the garage

limpid aurora
#

id: '1747696697646'

#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24










id: '1747696697646'
alias: Auto close
description: ''
triggers:

  • trigger: state
    entity_id:
    • cover.smart_garage_door_2311086236395361070548e1e9e12355_garage
      to: open
      for:
      hours: 0
      minutes: 5
      seconds: 0
      conditions:
  • condition: not
    conditions:
    • condition: zone
      entity_id: device_tracker.robs_iphone
      zone: zone.in_garage
      actions:
  • device_id: 2f98fd058e1da6f6aa9bea207aed6fd8
    domain: cover
    entity_id: 32a2ff7d5315853f18336fbb445ec533
    type: close
    mode: single
#

That’s what I have now

placid sun
#

You need to format code appropriately

slate harnessBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

limpid aurora
split badger
#

Put a mmwave sensor on your garage!

limpid aurora
#

It’s looking into that. I also set the automation to restart so I think it should work?