Samsung Arrival Sensor to trigger an Automation

Tags: #<Tag:0x00007f739be2bd80>

I hope someone can help a noob here. I spent hours researching but couldn’t see any reference for this.

I’ve got Samsung Arrival Sensor (binary_sensor.car_presence) integrated via zigbee deCONZ Ok. It is sending status every five minutes causing false trigger for automation. How would I add a condition to ignore these false changes?

Here’s device events from logbook:

logger

for some reason, it changes status to “away” and then back to “home” same second.

My automation:

  alias: Car Door Open when car arrives
  description: ''
  trigger:
  - entity_id: binary_sensor.car_presence
    from: 'off'
    platform: state
    to: 'on'
  condition:
  - condition: state
    entity_id: binary_sensor.occupancy
    state: 'on'
  action:
  - device_id: 093fc92cbd0746ca94fc0e02e930387e
    domain: cover
    entity_id: cover.car_door_opener
    type: open