JurajNyiri / HomeAssistant-Tapo-Control

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

Entities mixed up with each other for multiple cameras with same name in Tapo app #409

Closed longer83 closed 9 months ago

longer83 commented 9 months ago

Description

Entities mixed up with each other for multiple cameras with same name (not location) in Tapo app.

Reproduction Steps

Simply add 2 or more cameras to HA with same name in Tapo app and restart HA.

Expected behavior

Entities for each camera are grouped under device in integration.

If applicable, add error logs.

Both cameras are named "kamera" in Tapo app and assigned to different locations / rooms.

Screenshot after adding garage camera: 1

Screenshot of entities after adding garage camera: 2

Screenshot after adding living room camera: 3

Screenshot of entities after adding living room camera: 4

Screenshots of logs after adding both cameras: 5-1 5-2 5-3 5-4 5-5 5-6 5-7 5-8 5-9

Screenshot of list of cameras after HA restart: 6

Screenshots of logs after HA restart: 7-1 7-2 7-3 7-4 7-5 7-6 7-7 7-8

Device Firmware

1.3.0 Build 220830 Rel.698880n(4555)

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

No

HASS Environment

HAOS

Search for similar issues

Yes

Additional information

No response

JurajNyiri commented 9 months ago

Fixed in https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/releases/tag/5.3.5.