Bluetooth-Devices / bthome-ble

Parser for BTHome BLE devices
https://bthome.io/
MIT License
71 stars 15 forks source link

Add support for tags #24

Open Ernst79 opened 1 year ago

Ernst79 commented 1 year ago

Moved from https://github.com/home-assistant/bthome.io/issues/9 to here. Issue originally created by @balloob

Home Assistant has the notion of tags. A tag is a random string that can be used for automations. It would be great if tag readers could be supported by BTHome to be able to support battery-powered tag readers.

Add a new data type tag whose data is a string. Tags do not have a fixed length in Home Assistant. Receiver should process it as a tag if it supports tags. In Home Assistant that will be async_scan_tag if the tag integration is set up.