myhomeiot / esphome-components

A collection of my ESPHome components
Other
257 stars 25 forks source link

BLE client send command #27

Open chrisdev524 opened 6 months ago

chrisdev524 commented 6 months ago

Hi!

It would be great to have a feature not only read values from BLE client devices, but sending commands. I have some BLE key finders and they have a feature to beep if I would like to find them. Now I can only trigger it via app.

Could you extend the myhomeiot_ble_client with a functionality to connect to the device, write command, disconnect if a button is pressed like with ble_client.ble_write?

button:

Thank you!