Hi guys!
I have a Zigbee to IR Tuya device in my Zigbee2Mqtt and I want to create an intuitive automation. The codes collected by the device look like this:
“FXUNXSboAQQGHwLoAegBHwIfAugB6AFADwcfAugBHwIfAkAF4AEDAegB4AMNAx8CHwKABQEfAkAHQDdAA0ABgAcB6AFAB0ADC+gBHwIfAh8CHwIfAg==”
So I want to create a variable that I can call this in a easy way:
For exemple using a template:
when I call something like {{ “temperatura_18_degrees” }}
And this would return the IR code above.
Can someone suggest me a easy way to do this?
I want to do this, because I have several ACs of the same brand at home, and It would be easier if I could create a “code database” and call it in any automation, with ou having to copy and paste this complex code in every device.