Automation Problem Amcrest IP4M-1026W

I have a problem with the following automation. When I run the automation the Motion DetectVideo enable turns on but the Record enable does not. When I delete the camera.enable_motion_detection and then run the automation the Record enable turns on. This has worked at one time but during one of the HA upgrades my automation stopped working.
Any help would be appreciated.

- id: '1585323653606'
alias: Amcrest Front Yard Camera Motion Detection On
description: ''
trigger:
- entity_id: binary_sensor.front_door_motion
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data: {}
entity_id: camera.amcrest_front_yard
service: camera.enable_motion_detection
- data: {}
entity_id: camera.amcrest_front_yard
service: amcrest.enable_motion_recording
- data: {}
entity_id: timer.amcrest1
service: timer.start

Amcrest Camera Setting

Motion DetectVideo TamperHelp Center
Enable
ScheduleSetup
Anti-Dither
0
Seconds(0~100)
Detection AreaSetup
Record
Record Delay
10
Seconds(10~300)
Send Email
Snapshot