Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Help with automation condition

$
0
0

@andreaconfa wrote:

I have this simple automation:

-  alias: Cancello Giulietta
   trigger:
       platform: state
       entity_id: device_tracker.giulietta
       to: "home"
   condition: 
   - condition: state
     entity_id: 'cover.garage_door'
     state: 'closed'
   action:
   - service: cover.open_cover
     entity_id: cover.garage_door

I need a condition like this: if X sensor is “not_home” or is “home” from 20 seconds

Thanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles