I made this change but now I'm getting the following error because a lot of my bluetooth devices contain a single quotation mark `'` e.g. "Nathan's Speaker". I'd prefer to not have to update the names on all of those devices, so I will most likely not use btd or btx, unless that can be fixed.
Still, I appreciate the workflow and thanks for helping!
ERROR: Bluetooth Controller[Script Filter] Code 1: Traceback (most recent call last):
File "./return_device_json.py", line 81, in <module>
main()
File "./return_device_json.py", line 19, in main
open("devices.json", "w").write(text_json)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 111: ordinal not in range(128)