I already had yolink sensors for my freezers, so when I started checking out Home Assistant I got a couple of their motion sensors and their ‘speaker hub’.
I setup the sensors and speaker in Home Assistant and setup a couple of alerts (“activity in driveway” etc). Since then each time someone comes up the drive, it does the alert, and then maybe 60 seconds later it does it again.
I’m assuming that the ‘no motion’ state of the sensor a minute later is what’s triggering that (as they coincide) but I’m not sure what to do to eliminate them (that won’t break what I’ve already got) so I thought I’d ask…
Please follow Community Questions Guideline #9 by posting the, properly formatted, YAML configuration for the automation. This can be found by clicking the breadcrumb menu (3 dots) at the top right in the Automation Editor and selecting “Edit in YAML”. Copy that and paste it, using 3-ticks ``` on the line above and the line below the configuration code.
I’d set it on detection, but looking at the other options, it had a place to specify the change from and to, so I set it from clear to detected and that fixed it.
It seems as I suspected it was redetecting the change in state when it went from ‘detected to clear’.
Thanks for all the input it got me looking in the right direction!