JurajNyiri / HomeAssistant-Tapo-Control

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

Error when changing motion detection mode, automation stopped #569

Open jpizquierdo opened 1 month ago

jpizquierdo commented 1 month ago

Description

I have an automation which enable and disable the camera alarm by proximity. The automation was triggered but when I tried to change the motion detection selector to “off” the error ocurred:

Error: 'utf-8' codec can't decode byte 0xa7 in position 0: invalid start byte Resultado: params: domain: select service: select_option service_data: option: 'off' entity_id:

Reproduction Steps

Change motion detection mode by automation

Expected behavior

Continue with the rest of automation or try again in a few seconds if error

If applicable, add error logs.

Error: 'utf-8' codec can't decode byte 0xa7 in position 0: invalid start byte Resultado: params: domain: select service: select_option service_data: option: 'off' entity_id:

Device Firmware

1.3.11 Build 231121 Rel.39429n(4555)

Integration Version

5.4.17

Using stream component

No

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

Docker

Search for similar issues

Yes

Additional information

No response