home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.47k stars 29.4k forks source link

Problem with TUYA integration , binary sensors do not update status . after updating to 2024.7.0 #121191

Open motogon opened 1 month ago

motogon commented 1 month ago

The problem

Again problem with TUYA integration , binary sensors do not update status . after update to 2024.7.0 .

Motion sensor, door opening . After the first status change (motion detected or door open) - does not return to the initial state although there is no motion and the door has long been closed. Before reboot integration .

What version of Home Assistant Core has the issue?

2024.7.0

What was the last working version of Home Assistant Core?

2024.6.1

What type of installation are you running?

Home Assistant OS

Integration causing the issue

tuya

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tuya

Diagnostics information

tuya-afade3280012031b9d6e51fcf86fd9f6-PIR motion sensor-f8ee812c042e67e900c38b92a4c67fff.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `tuya` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign tuya` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


tuya documentation tuya source (message by IssueLinks)

aefo commented 1 month ago

Seeing what sounds to be the same / similar issue. After updating to 2024.7.1 none of the motion sensors on my system return to the clear / normal state. Restarting the integration gets them back to the correct state to match the state in Smart Life / Tuya app.

Thanks

gsaurer commented 1 month ago

Same here. Sensors are not updating after moving to 2024.7.1

MFrainer commented 1 month ago

I have de same problem. Sensors are not updating after updating to 2024.7.1

Lord2666 commented 1 month ago

When you restart home assistant, all the devices are working, alarm, sensors, plug, thermostat, etc. all devices are Wi-Fi. But in a few hours they freeze, they work directly with the app but not the home assistant. I also think this happens since update 2024.7.0. Greetings

MarcoEnd commented 3 weeks ago

I got this issue with mith tubular motors for my roller blinds. The motors are from A-OK and controlled via Tuya. Since update to 2024.07.x the status is not updated. A motor got status open eventhough it was closed. When I opened it the status did not change. The other three motors had status unavailable, opening or closing did not change the status. The control via dashbord (entity card, scripts, automations, etc. seems to works normal.

I tried with 2024.7.0 and 2024.7.3 both have this issue.

As I need the correct status of the blinds in some automations I reverted back to 2024.6.4 which is the last version where it is working fine.

plumbum00 commented 3 weeks ago

PIR sensors are not resetted, remain detecting motion. Issue only for HA. Tuya is working fine. from 2024.7.0 onward

motogon commented 2 weeks ago

Hey there @tuya, @zlinoliver, @frenck

when do we expect the problem to be solved?

MarcoEnd commented 2 weeks ago

122701 Seems to be the same issue

dyegopb commented 2 weeks ago

Eu tive esse problema com motores tubulares mith para minhas persianas de rolo. Os motores são da A-OK e controlados via Tuya. Desde a atualização para 2024.07.x o status não é atualizado. Um motor obteve o status aberto mesmo estando fechado. Quando eu o abri o status não mudou. Os outros três motores tiveram status indisponível, abrir ou fechar não alterou o status. O controle via painel (cartão de entidade, scripts, automações, etc. parece funcionar normalmente.

Tentei com 2024.7.0 e 2024.7.3 e ambos apresentam esse problema.

Como preciso do status correto das persianas em algumas automações, voltei para 2024.6.4, que é a última versão em que está funcionando bem.

olá, conseguiu alguma solução? Estou com o mesmo problema com as persianas. Será que somente com atualização da integração?

MarcoEnd commented 2 weeks ago

olá, conseguiu alguma solução? Estou com o mesmo problema com as persianas. Será que somente com atualização da integração?

I switched back to Home Assistant Core 2024.6.4 which is the last one working fine for me.