Thу same i would like to have for bluetooth.
Is it real?
It would be useful to detect that my phone connected the car’s bluetooth and now i am driving now.
I know that i can do it with macrodroid or with ittf or other app, but the question in native HA App.
Having access to which bluetooth devices are connected to the phone would be very useful. You could detect when your phone is paired with your car (ie you’re driving), paired with your telephone headset (working or on a call), paired with your Garmin or Wahoo bike computer (you’re biking), your Garmin SPOT (you’re hiking), etc. And probably more ideas I haven’t thought of yet.
This whole thread should be moved to feature requests. However there are only a couple of devs doing the companion app and it may come to attention better on GitHub.
In fact it’s already possible with the attributes connected_paired_devices of bluetooth_connection. For exemple I use it as a condition in an automation to check if my Garmin is connected. Value template:
{{ ('14:8F:21:03:D9:B5 (Edge 810)' ) in state_attr("sensor.pixel_4a_bluetooth_connection",'connected_paired_devices') }}