Adjustment of the calculated property

Pavel Srneček5 years ago

I use a low battery notification using the calculated feature function with the code:

batteryLevel < "15" ?  "lowBattery" : null

How to modify this code so I only get one notification. Now I still receive notifications when I have a voltage below 15%. I just need one warning and then I don't want to be informed. Thank you in advance for your advice