[BTHome website] Format correction regarding binary sensor battery
Ardelean-Calin opened this issue · comments
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
- 0x00 => Battery Level NORMAL (instead of the described LOW)
- 0x01 => Battery Level LOW (instead of the described NORMAL)
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.
Should be fixed now.
According to the HA page, it should be. Changed that on the webpage.
0 = Normal
1 = Low