I’m a newbee to HA, but have used Hubitat extensively in the past. I’m trying to setup HA as a replacement to Hubitat, and going through a steep learning curve. I had hit a problem that I seek seek some help please.
I am using a Raspberry Pi 5, with a sd card built using RPi Imager to create a bootable HA. Versions are:
- Core 2024.10.1
- Supervisor 2024.09.1
- Operating System 13.1
- Frontend 20241002.2
Using the Ui, not YAML code.
I have set-up a Broadlink RM4 Pro device, learnt and tested sucessfully a range of commands. The RM4 Pro is being used to control multiple devices and I’ve successfully set-up a dashboard and a card with multiple buttoms each using Remote:Send action to send a single command to the RM4, which sends an IR code to the device. All good so far.
The snag is that I am having problems trying to set up a button with multiple Remote: Send actions which will make the RM4 Pro send multiple IR codes. The use case is to have one button to power up/down 3 devices.here are the 3 commands that I set up in the UI
TvPower
SwitchPower
SoundbarPower
When I press the button, here is the result:
Going back to edit the card button, here is the command that I see:
TvPower SwitchPower SoundbarPower
Here is the card code:
square: true
type: grid
cards:
- show_name: true
show_icon: true
type: button
tap_action:
action: perform-action
perform_action: remote.send_command
target:
device_id: d503814f0fe15f3d434afe6666ecb9ba
data:
command: TvPower SwitchPower SoundbarPower
device: All
icon: mdi:power
name: AV Power
entity: remote.bedroom_av
- show_name: true
show_icon: true
type: button
tap_action:
action: perform-action
perform_action: remote.send_command
target:
device_id: d503814f0fe15f3d434afe6666ecb9ba
data:
device: All
command: Mute
icon: mdi:volume-mute
name: Mute
entity: remote.bedroom_av
- show_name: true
show_icon: true
type: button
tap_action:
action: perform-action
perform_action: remote.send_command
target:
device_id: d503814f0fe15f3d434afe6666ecb9ba
data:
command: VolumeUp
device: All
icon: mdi:volume-plus
name: Vol Up
entity: remote.bedroom_av
- show_name: true
show_icon: true
type: button
tap_action:
action: perform-action
perform_action: remote.send_command
target:
device_id: d503814f0fe15f3d434afe6666ecb9ba
data:
device: All
command: VolumeDown
icon: mdi:volume-minus
name: Vol Down
entity: remote.bedroom_av
- show_name: true
show_icon: true
type: button
tap_action:
action: perform-action
perform_action: remote.send_command
target:
device_id: d503814f0fe15f3d434afe6666ecb9ba
data:
command: InMedia
device: All
name: "In Media "
icon: mdi:folder-play
entity: remote.bedroom_av
- show_name: true
show_icon: true
type: button
tap_action:
action: perform-action
perform_action: remote.send_command
target:
device_id: d503814f0fe15f3d434afe6666ecb9ba
data:
command: InChromecast
device: All
name: In C/Cast
icon: mdi:cast-connected
entity: remote.bedroom_av
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.bulb_bed1
name: Bulb
icon: mdi:lightbulb
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: light.lights_bed1
name: Downlights
- show_name: true
show_icon: true
type: button
tap_action:
action: perform-action
perform_action: remote.send_command
target:
device_id: d503814f0fe15f3d434afe6666ecb9ba
data:
device: All
command: TvPower
entity: remote.bedroom_av
name: TV Power
icon: mdi:power
- show_name: true
show_icon: true
type: button
tap_action:
action: perform-action
perform_action: remote.send_command
target:
device_id: d503814f0fe15f3d434afe6666ecb9ba
data:
device: All
command: SwitchPower
entity: remote.bedroom_av
icon: mdi:power
name: Switch Power
- show_name: true
show_icon: true
type: button
tap_action:
action: perform-action
perform_action: remote.send_command
target:
device_id: d503814f0fe15f3d434afe6666ecb9ba
data:
num_repeats: 1
delay_secs: 0.4
hold_secs: 0
device: All
command: SoundbarPower
entity: remote.bedroom_av
icon: mdi:power
name: S/bar Power
columns: 4
title: Bedroom
So to summarise, I set up 3 seperate commands that are joined togetherby the UI as one command, which fails.
Any help to guide me on the right path would be much appreciated.