Custom Notification Icon can't use any variables
I tried creating a battery status of my Mi Band 5 using notify but I noticed that only % appears but the value of the variable is correct. (Ex: 26)
I also tried putting the number manually, it works. But if I'm using variable, it's not working. I even tried using Variable set just to convert the match from A1 to another variable but it also doesn't work and it shows %b instead. Meaning, it's not really converting the variable into its value. Just %battery.
Profile: Mi Band Battery Status
Event: Logcat Entry [ Output Variables:* Component:BluetoothRemoteDevices Filter:Updated device EC:FC:51:A5:B6:35 battery level Grep Filter (Check Help):Off ]
Enter Task: Mi Band Battery Status
A1: Simple Match/Regex [
Type: Simple
Text: %lc_text
Match Pattern: Updated device EC:FC:51:A5:B6:35 battery level to #mi_band_battery ]
A2: Variable Set [
Name: %battery
To: %mi_band_battery
Structure Output (JSON, etc): On ]
A3: Notify [
Title: Mi Band Battery: %mi_band_battery%
Icon: %battery
Number: 0
Priority: 100
Repeat Alert: On
LED Colour: Pink
LED Rate: 0
Category: Mi Band Battery Status ]