Camera Motion detection stopped working

I have an automation that used to work, now it stopped working.

alias: Motion Garage
description: ""
mode: queued
max: 10
triggers:
  - type: occupied
    device_id: d2d5f3888da69d9583ed61277afeb4ec
    entity_id: 3393ea4f9dc4c1565a2dd231af6355eb
    domain: binary_sensor
    trigger: device
conditions: []
actions:
  - data:
      filename: www/cameras/garage-00.jpg
    enabled: true
    target:
      device_id:
        - d2d5f3888da69d9583ed61277afeb4ec
    action: camera.snapshot
  - data: {}
    action: shell_command.mm_garagehook
  - delay:
      hours: 0
      minutes: 0
      seconds: 2
      milliseconds: 0
  - data:
      message: Garage Activity
      title: Activity In The Garage
    enabled: true
    action: notify.mobile_app_sm_x200

For some reason the trigger is never going off. Anyone seen this before?

Hi is are you checking this?

If you check the device are you seeing it transition to occupied?

EDIT
How are you checking this?

Am still working on it! So far just confusion on my part.

I am using Frigate, and the trigger “Motion Turned On” in the ‘for’ timer I have nothing. This was causing the automation to go off way to frequently for erroneous reasons. I am checking the camera to see where the camera is looking for motion, could be something outside the area of concern.

Very ‘dumb’ question but the recording is showing audio taking place at odd times. Is audio changes considered part of ‘motion’?

No. Seperate
Not sure what it’s doing exactly but I would guess some basic audio level check and sending audio over some level to detection to determine the type of audio

Add a condition to reduce this.
Detection score must be above xx%

      - condition: template
        value_template: "{{ trigger.payload_json[\"after\"][\"top_score\"] > 0.725 }}"

With this you can adjust what score you will accept.