JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
947 stars 80 forks source link

Battery level won't update (TAPO C420). #594

Open Pippo1989 opened 1 month ago

Pippo1989 commented 1 month ago

Description

The battery entity of Tapo C420 cameras is stuck at a certain value (always the same) and won't change over time. The update occurs only if the system is restarted.

Reproduction Steps

Just monitor the battery level via the TAPO application and compare it to the value of the battery sensor in Home Assistant.

Expected behavior

"SENSOR.(NAME)_BATTERY" should match and update with the actual battery value, as shown in the app.

If applicable, add error logs.

home-assistant_tapo_control_2024-05-25T23-15-58.645Z.log

Device Firmware

1.2.17 Build 20240305 rel.75572

Integration Version

5.4.18

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

Hassio on Raspberry Pi4

Search for similar issues

Yes

Additional information

No response