External discovery of BLE devices

Is there a way to integrate a BLE scanner into home-assistant in such a way that discovery of new devices is saved to known_devices.yaml?

I have tried a few implemenations like mqtt_room or the bluetooth ble tracker using the external library, but I could not get somehow new devices registered in home assistant.