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

Automation not triggering fast enough?

$
0
0

@jimjones41465 wrote:

I’m relatively new to home assistant and have a question about an automation I set up.

I wired a mechanical switch to a z-wave door sensor and attached it to my mailbox door so that I can get notifications when the mail is delivered. Everything works great, except that when the door is open and closed quickly, sometimes the automation I set up to notify me doesn’t work. Home assistant still records that the door was opened, but I set up a notification to send a text message to my phone, and this doesn’t seem to trigger.

My automation code is:

- id: '1585251647546'
  alias: Mailbox Door Open
  description: ''
  trigger:
  - entity_id: binary_sensor.mailboxdoor
    to: 'on'
    platform: state
  condition: []
  action:
  - data:
      message: Mailbox Door Open
      title: Mailbox Door Open
    service: notify.mailboxnotify

The home assistant card shows a very thin green sliver where the door was opened, so it is recorded as open for like 1-2 seconds, but the automation doesn’t trigger.

Clipboard01

Anyone have any ideas how to make this more reliable?

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>