home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.58k stars 29.49k forks source link

Meters battery status always reported as 100% #121948

Closed Paco1960 closed 1 month ago

Paco1960 commented 1 month ago

The problem

Reported battery status is always reported as at 100% of charge, even battery status reported by direct BLE communication reports correct value, as also Switchbot android app.

What version of Home Assistant Core has the issue?

Core-2024.7.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Switchbot Cloud

Link to integration documentation on our website

https://www.home-assistant.io/integrations/switchbot_cloud/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @seraphicrav, @laurence-presland, mind taking a look at this issue as it has been labeled with an integration (switchbot_cloud) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `switchbot_cloud` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign switchbot_cloud` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


switchbot_cloud documentation switchbot_cloud source (message by IssueLinks)

SeraphicRav commented 1 month ago

In my case, it seems that the values are rounded to the closest 5 multiple? Screenshot_20240715-171040 Need to double check what SwitchBot API is returning.

SeraphicRav commented 1 month ago

Hi @Paco1960 !

I double checked what the SwitchBot API was returning and it seems it does not return the latest value of the battery.

There are issues opened on the SwitchBot API side:

It is not an issue with the switchbot_cloud integration.

SeraphicRav commented 1 month ago

I am sorry but I will close this issue as the problem is on SwitchBot side.

SeraphicRav commented 1 month ago

@home-assistant close