Creating remote control commands

It would be nice to have a easy way to create a remote control within HA rather then calling a service… send command for every function. At least would it be possible to have a drop down menu with the list of commands within the call service function.

Use scripts and place buttons on your dashboard, that calls the script.

example of a script:

alias: Airco Mode
sequence:
  - service: remote.send_command
    data:
      device: Airco
      command: mode
    target:
      entity_id: remote.broadlinkrm4slaap_remote
  - delay:
      hours: 0
      minutes: 0
      seconds: 1
      milliseconds: 0
mode: single

example of a button calling that script:

show_name: true
show_icon: true
type: custom:button-card
tap_action:
  action: toggle
entity: script.1660559333377
icon: mdi:air-conditioner

here a dashboard with 6 buttons calling 6 scripts.

afbeelding

Voila! Remote control done in no time… :wink: