ACTION=="add", SUBSYSTEM=="input", ATTR{name}=="JBL Charge Essential (AVRCP)", RUN+="/root/btspeaker.add"
ACTION=="remove", SUBSYSTEM=="input", ATTR{name}=="JBL Charge Essential (AVRCP)", RUN+="/root/btspeaker.remove"
Dit is de nieuwe regel. Bij het toevoegen werkt het. De remove action werkt niet.