Cannot turn on/off recording from automation

My config is working fine, I have been trying for hours to find out how to turn off recording from an automation. I have tried every entities, nothing does the job.

From Frigate I can click on the top right buttons and turn on or off recordings, snapshots etc.

2026-02-12 06:53:05.682897403  [2026-02-12 14:53:05] frigate.comms.dispatcher       INFO    : Turning on recordings for entry
2026-02-12 06:53:07.404250331  [2026-02-12 14:53:07] frigate.comms.dispatcher       INFO    : Turning off recordings for entry
2026-02-12 06:53:09.950071212  [2026-02-12 14:53:09] frigate.comms.dispatcher       INFO    : Turning on snapshots for entry
2026-02-12 06:53:10.932716164  [2026-02-12 14:53:10] frigate.comms.dispatcher       INFO    : Turning off snapshots for entry

This changes are not reflected in the Configuration sections of the device


I can click each switch, they go back on after a second, and no feedback in the Frigate logs.

mqtt:
  host: 192.168.1.154
  topic_prefix: frigate
  user: username
  password: password

detectors:
  coral:
    type: edgetpu
    device: usb```

go2rtc:
  streams:
    entry_main:
      - rtsp://usn:[email protected]:554/Preview_01_main
    entry_sub:
      - rtsp://usn:[email protected]:554/Preview_01_sub

cameras:
  entry:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/entry_sub
          input_args: preset-rtsp-restream
          roles:
            - detect
        - path: rtsp://127.0.0.1:8554/entry_main
          input_args: preset-rtsp-restream
          roles:
            - record
    detect:
      enabled: true
    objects:
      track:
        - person

record:
  enabled: true
  retain:
    days: 3
    mode: all # motion = on motion, all = continuous recording
  alerts:
    retain:
      days: 5 # Default: 14
      mode: motion
  detections:
    retain:
      days: 5 # Default: 14
      mode: motion
motion:
  threshold: 30 # Default: 30
    # 10 = High sensitivity
    # 30 = Medium sensitivity
    # 50 = Low sensitivity
snapshots:
  enabled: true
  retain:
    default: 530