Package: BlueZ Version: 5.66 There was a bug in the BlueZ cache device removal policy whenever "Temporary Timeout = 0" was set in main.conf file It was fixed in version 5.74+
I suggest to upgrade the BlueZ from 5.66 to 5.80 I am using Debian 12 (bookworm), kernel 6.1 cip