Broadlink Pro

Im really striuggling getting a broadlink pro to work. Ive a few devices that use IR and RF that I wanted to control, so I invested in a BL Pro

Ive followed the documentation, as far as learning commands. All seem to work fine… see example screenshot

I get the green tick, suggesting that the command has indeed been learnt.

However, what I cant get working is sending commands I have learnt. When I try to create a script and send a command…

I get this error; Error Running Action

Ive read various support topics, and one mentions that there should be a file called BROADLINK.devive id in my config folder. But I dont have any such file, so I wonder if this could be the cause…that it isnt saving the learnt commands anywhere.

Does anyone know what Imight do to get this working please?

The Broadlink codes are in a folder called .storage, which is in the config folder. It’s a hidden folder, so you won’t be able to see it from within HA.

In your second image you seem to have selected an area as well as a device - you don’t need both, so that may be the problem. Just select the remote.

Edit: If you’re using the file editor add-on, there’s an option in the configuration not to hide the .storage folder.

Here is a YAML example of a working Broadlink script as well for reference.

alias: Vizio Sound Mute
sequence:
  - data:
      device: vizio.soundbar
      command: mute
    target:
      device_id: d6c06768b107de4f546e0f39488c0439
    action: remote.send_command
mode: single
icon: mdi:volume-off