Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to rotate cameras from script #785

Closed
banditoth opened this issue Dec 21, 2024 · 3 comments
Closed

Unable to rotate cameras from script #785

banditoth opened this issue Dec 21, 2024 · 3 comments
Labels
Duplicate This issue or pull request already exists

Comments

@banditoth
Copy link

Description

When attempting to rotate the Tapo C210 camera via a script in Home Assistant, the camera intermittently fails to execute the requested rotation to the preset.
The issue occurs approximately 50% of the time, suggesting potential inconsistencies in entity state validation or preset recognition within the integration.

Reproduction Steps

  1. Create a script in Home Assistant that triggers the camera to move to a specific preset.
    2. Ensure the target preset is valid and configured within the select.nappali_move_to_preset entity.
    3. Execute the script multiple times.

Expected behavior

The camera should consistently rotate to the requested preset without errors, provided the preset name is valid.

Actual:
The rotation request fails intermittently with the error message stating the preset is not valid, even though it is correctly configured and works at other times.

If applicable, add error logs.

Error: Option BEJÁRAT ÉS KONYHA is not valid for entity select.nappali_move_to_preset, valid options are:

Device Firmware

1.13.4 build 240801 rel.64982n

Integration Version

6.0.1

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

haos

Search for similar issues

Yes

Additional information

Camera model : C210

@banditoth
Copy link
Author

banditoth commented Dec 21, 2024

I’ve also resetted the cameras, and deleted the integration from HA, and readded it with fresh installs of the cams. It did not solved this problem.
On the previos config, the names were without á é characters, so that not seems to be the problem

IMG_3015
IMG_3016

@banditoth
Copy link
Author

Thats my script:
IMG_3018

@JurajNyiri
Copy link
Owner

Duplicate of #484 please continue there. I am having a hard time replicating this issue.

@JurajNyiri JurajNyiri added the Duplicate This issue or pull request already exists label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants