Connect Alexa dot to a bluetooth device from HA

Hey all,

I’m using the Alexa Media Player to integrate my Echo devices into HA. Reading all the information is working (a little bit unstable, but okay). Now I want to control the echo device from HA. I want to listen for the current state of the echo, and if it’s playing music (spotify or radio) than I want to automatically connect the dot to my AVR.
I think listening to the current state of the dot is not the problem, but I havn’t found a way to let the alexa device connect to a bluetooth speaker.
This are the attributes form the developer tools:

source_list:
  - Local Speaker
volume_level: 0.2
is_volume_muted: false
media_content_type: standby
media_position_updated_at: '2021-03-25T10:54:20.369825+00:00'
source: Local Speaker
shuffle: false
available: true
last_called: false
last_called_timestamp: 1616708456433
last_called_summary: alexa
connected_bluetooth: null
bluetooth_list:
  - VSX-930 B101AD
friendly_name: Alexa Wohnzimmer-Dot
supported_features: 56253

The “connected_bluetooth” attribute is changing, when I manually connect the dot via voice command. But there is no service to connect the device from HA.
Does someone has an idea how I can solve that issue?

Best regards!

Push. :blush:

This is the same i looking for

if it works with voice command, you can follow the documentation:

media_content_id should be filled with the usually spoken voice command (something like 'connect to name_of_bluetooth_speaker')