-
Notifications
You must be signed in to change notification settings - Fork 23
Description
I am using the remote cards with a ZS06 Zigbee IR remote that requires the publishing of ir_send_code mqtt topics to transmit the ir signals. So I tried to set up the buttons to call a script that then creates and publishes an appropriate mqtt topic.
I have had a few attempts including those below:
pwr: call: script.living_room_ir_button data: button_pressed: '{{ input_text.btyouview_pwr_text }}'
pwr: service: script.living_room_ir_button data: button_pressed: '{{ input_text.btyouview_pwr_text }}'
These have not worked and all the example remotes are using the remote.send method in their calls. Is there any way that the card button call can trigger a script rather than a remote.send command or is there a way of tailoring the remote.send to actually call a script?