I have a "BT connection" event that does not have any parameters set. I determine actions when %bt_connected is set to "true" or "false".
When "false" (i.e. the BT connection was disconnected"), I want to display the "BT Battery Level".
I'm finding that the event triggers even when I'm not connecting or disconnecting from a BT device. So, I get a notification that just shows the variable in text as "%bt_battery_level" (not the value contained in it).
Why is this happening and how can I determine a BT disconnect without using complex logic?