The Sonoff integration documentation mentions the following on how to send commands with the Sonoff RF bridge from HA:
Example for send RF signal
script:
send_button1:
alias: Send RF Button1
sequence:
- service: remote.send_command
data:
entity_id: remote.sonoff_1000abcdef
command: Button1 # button name in eWeLink application
However since each entity (RF bridge) has up to four devices that it can address, with each device up to 4 buttons…I cannot figure out how to pass the name of the remote - as I don’t want to include it in the name of each button. Does anyone know?