I have a pair of Beats Bluetooth Headphones that I’m trying to use as a state trigger in an automation. I have the automation and everything working but about half of the time that I turn on the headphones they don’t connect to my Pi/Home Assistant. It seems to work more reliably if I have just recently restarted HA, but I’m not sure if that’s a factor.
Are there any know techniques for ensuring consistent Bluetooth connection? I have a similar setup for my phone with no issues so the problem could be with the headphones and not HA?