Bluetooth-Devices / bthome-ble

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

[BTHome website] Format correction regarding binary sensor battery #59

Closed Ardelean-Calin closed 1 year ago

Ardelean-Calin commented 1 year ago

Describe the bug On the BTHome Format reference page in the chapter Binary Sensor data the property battery with object_id 0x15 has a wrong description. When testing in HomeAssistant, I found out that the battery level appears backwards, that means

To Reproduce When sending True aka 0x01 on that flag, a BTHome device configured in HomeAssistant will show the battery level as being Low as opposed to the expected Normal described in the Result column.

Additional context Sorry if this is not the page for site-related issues. I didn't find the source code for the Website, otherwise I would have fixed the description myself.

Ernst79 commented 1 year ago

Should be fixed now.

According to the HA page, it should be. Changed that on the webpage.

0 = Normal 1 = Low