Run the service in the service checker if they offer any responses, otherwise I’d wager the event comes through the event topic.
According to @ShadowFist they reply with
{
"success": true,
"message": "string",
"event_id": "string"
}
WIth that being said, if you use this:
alias: start rec front
description: ''
triggers:
- trigger: switch.turned_on
target:
entity_id: input_boolean.switch_rec_front
options:
behavior: each
for: '00:00:00'
conditions: []
actions:
- action: frigate.create_event
metadata: {}
target:
device_id: 3ccf051234cc93b6143e255f36ed6323
data:
label: on demand front
duration: 0
include_recording: true
response_variable: start_stop_rec_front
- action: input_text.set_value
target:
entity_id: input_text.your_text # YOU WILL HAVE TO CREATE THIS HELPER
data:
value: "{{ start_stop_rec_front['event_id'] }}"
Then
alias: stop rec framsida
description: ''
triggers:
- trigger: switch.turned_off
target:
entity_id: input_boolean.switch_rec_front
options:
behavior: each
for: '00:00:00'
conditions: []
actions:
- action: frigate.end_event
metadata: {}
data:
event_id: "{{ states('input_text.your_text') }}"
target:
device_id: 3ccf051234cc93b6143e255f36ed6323
mode: single