Closed AnthonyBe closed 4 months ago
I can see that your device is reporting both the battery percentage as well as the voltage level, which I haven't seen before:
Battery: {'percent': 58, 'charging': False, 'mv': 2725, 'low_battery_at': '2023-12-14T11:49:00.000Z'}
Hopefully this means that the bhyve devices will always return the percentage and resolves other battery issues which have been seen in https://github.com/sebr/bhyve-home-assistant/issues/209
Just updated to 3.2.3 and it's resolved the issue. Thanks @sebr !
Started seeing this today, for the first time, after updating:
WARNING (MainThread) [custom_components.bhyve.sensor] Unexpected battery data, returning 0: battery_status
Thank you! Seems resolved for me now.
Describe the bug I've been using the integration without issue for many months. After changing the batteries on one of my devices recently, I noticed that the battery percent reading in HA got 'stuck' on 90.83333333%
I've disabled and re-enabled the device in the integration config. Powered the BHyve device on and off numerous times. Nothing seems to rectify the issue. I have 2 other BHyve devices and they are reporting battery percent without issue. The BHyve device I'm seeing the issue with, is correctly reporting all other attirbutes, only battery percent is causing me an issue. The battery percent is showing correctly in the BHyve app (i.e. not a deice/Cloud/App/Platform issue) The battery percent is showing correctly in the attached integration diagnostic data! So I'm REALLY confused by this! It is as though the battery level sensor entity is 'stuck'! The only thing I haven't tried yet is deleting the integration and re-installing.
Expected behaviour Correct battery percent values displayed
BHyve devices 1 x BHyve Hub 3 x BHyve tap timers
Device Diagnostics
config_entry-bhyve-5bc4b4819e8722eb2f3b99b8df98a730.json
In addition, I see this error in my HA log: