JurajNyiri / HomeAssistant-Tapo-Control

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

Cell Motion Detection sensor's Entity ID changed #413

Closed jmsantos86 closed 1 year ago

jmsantos86 commented 1 year ago

Description

Just noticed that the Entity ID of Cell Motion Detection sensor for Tapo C210 changed from binary_sensor.<_camera_label_>_cell_motion_detection to binary_sensor.<_camera_label_>_cell_motion_detection_2 unexpectedly.

Reproduction Steps

  1. Add Tapo C210 Camera
  2. Enable Motion Detection
  3. Wait for binary_sensor.<_camera_label_>_cell_motion_detection to show once motion is detected
  4. Leave it for a while and check if the Cell Motion Detection sensor's Entity ID change

Expected behavior

Entity ID should not change

If applicable, add error logs.

No response

Device Firmware

1.3.7 Build 230823 Rel.55314n(4555)

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

Docker on Synology NAS

Search for similar issues

Yes

Additional information

No response

JurajNyiri commented 1 year ago

This is ok on update, just delete the old entity and rename the new one, it should not happen regurarely.