Map remote keys from Tasmota by Mqtt

Hi all,

I have my Magic Home Led controller up and running. Great!
But now I want to add the IR remote functionality back again.

I know I can add automations for the Mqtt command, but do I really have make one for every button? Or is the a quicker way to accomplish this, like some sort of button mapping?

This is an example of what I get from the ‘ON button’:

tele/Parasol/RESULT:
{“IrReceived”:{“PROTOCOL”:“NEC”,“BITS”:32,“DATA”:“FFB04F”}}

I hope you could help me out. Thank you!

Not sure what you had in mind, but I’m guessing each button will serve a different purpose and therefore run a different action, so on that basis I guess you’d need a separate automation for each button that you want to act upon… Unless I misunderstood your question?

Each button is a color, so, what I thought. And you are right. Was a hassle, but I managed it now.
Thank you!