Actually I did that because my situation was a bit more complicated. I won’t go into that, but I think you can solve your problem a simpler way by replacing the triggers in your current automation with a template trigger. Something like this:
- alias: notify_1_dafang_1_send_picture_door_open
initial_state: true
hide_entity: false
trigger:
platform: template
value_template: >
{{ is_state('sensor.front_door_node_1_front_door_status', 'open') or
is_state('binary_sensor.aqara_door_window_sensor_1', 'on') }}
condition:
...
A template trigger will trigger the first time it evaluates to true. After that it won’t trigger again until it first evaluates to false, and then to true again.