Can’t get call_service to work as automation trigger

I feel like this should be simple based on what I’ve read here, but can’t get it to work. I’m trying to trigger an automation when the service send_command is called for my BroadLink remote (controlling an exhaust fan). Ive successfully listened to the service being called as an event and used the exact same information in my automation trigger, but nothing seems to actually trigger the automation. Here’s the yaml for my trigger and a screenshot of the information from the event listener. Any help figuring this out is appreciated! TIA.

trigger:
  - platform: event
    event_type: call_service
    event_data:
      domain: remote
      service: send_command
      service data:
        device: MaxxAir
        command: 50_out
        num_repeats: 10
        delay_secs: 0.5
        entity_id:
          - remote.maxxair_remote
    enabled: true

Typo. Try service_data

1 Like