JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
1.1k stars 88 forks source link

Delete media folder of a deleted camera #475

Closed FischLu closed 10 months ago

FischLu commented 10 months ago

Description

I have two Tapo C200, both integrated into HA Tapo-Control. One of them has some hardware issues, so I removed it from the Tapo settings interface. The specific steps were HA settings -> Devices & services -> Tapo: Cameras Control. In the Integration entries, I located the camera to be deleted and clicked the three dots on the right to select Delete. After deleting the camera, I noticed that the folder for the deleted camera under Tapo: Recordings in the Media tab still exists. I can't find where to delete this folder, and even in the HA host's configuration directory, there is no corresponding folder. How can I delete the media folder for the removed camera? Thank you.

Reproduction Steps

  1. add a Tapo camera
  2. delete it
  3. check media folder

Expected behavior

The media folder of the deleted camera should be deleted as well.

If applicable, add error logs.

No response

Device Firmware

1.3.9 Build 231019 Rel.29120n(4555)

Integration Version

5.4.12

Using stream component

No

Does camera work via official integrations?

N/A

Camera has all attributes filled out in developer tools

Yes

HASS Environment

Docker

Search for similar issues

Yes

Additional information

No response

FischLu commented 10 months ago

after one hour and restart docker several times, the folder disappeared. I close the issue.