-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
Description
The problem
Tuya integration is not accurately discerning sensor state. Please see demonstration.
https://youtu.be/UbQEa_1kQio?si=XerIEcIl_AsG57Nc
Issue Summary:
When the state of a sensor changes in the Tuya Smart Life app, this change is not reflected in Home Assistant. For example, if a door sensor shows as "open" in the Tuya Smart Life app, Home Assistant still shows the sensor as "closed" or does not update the state accordingly.
Steps to Reproduce:
- Set up a door sensor (or similar device) in the Tuya Smart Life app.
- Integrate this sensor with Home Assistant using the Tuya integration.
- Physically open the door and observe the sensor's state change in the Tuya app (e.g., from "closed" to "open").
- Check the state of the same sensor in Home Assistant.
Expected Behaviour:
The sensor state in Home Assistant should match the state shown in the Tuya app. For example, when the door is physically opened and the Tuya app shows the door as "open," Home Assistant should also display the sensor as "open."
Actual Behaviour:
The sensor state in Home Assistant does not update to reflect the change. For instance, even if the door is open and the Tuya app correctly shows it as "open," Home Assistant may still show the sensor as "closed" or not update the state at all.
This issue makes it challenging to rely on Home Assistant for accurate real-time monitoring and automation based on sensor states.
What version of Home Assistant Core has the issue?
Core 2024.7.4
Supervisor 2024.08.0
Operating System 12.3
Frontend 20240710.0
What was the last working version of Home Assistant Core?
No response
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
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response