I’m trying to use frigate detections of one particular camera to mute my TV (I can’t use the frigate notification blueprint since TV mute functionality isn’t built-in). I tried my hand at the below automation but it isn’t working. If relevant, my camera name in the frigate config is “Driveway” and the entity in HA is “camera.driveway”. Any suggestions on how to correct?
alias: "Camera Detection: Driveway (Announce)"
description: ""
triggers:
- topic: frigate/reviews
trigger: mqtt
conditions:
- condition: template
value_template: |
{{ trigger.payload_json['after']['camera'] == 'driveway' and
trigger.payload_json['after']['label'] == 'person' }}
- condition: state
entity_id: input_boolean.camera_detection_driveway_announce
state: "on"
- condition: state
entity_id: remote.living_room_tv
state: "on"
actions:
....
mode: single