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
71.88k stars 30.11k forks source link

Tuya Integration (Not Third Party Addon) - Wrong Device Category Entered By Manufacturer. DP Instructions Not Used. #120370

Open iantrobinson opened 3 months ago

iantrobinson commented 3 months ago

The problem

Please read the entire description. This is for the Tuya integration and NOT a 3rd party addon

The High-precision breath sensor device has been incorrectly coded as a switch by the manufacturer. In the Tuya integration and Tuya Cloud the device shows up as a "category": "kg" switch instead of a mmwave presence sensor. The autoconfig in HA only sets up two non-functional switches for the device. In the Tuya/ Smart Life app everything works perfectly fine.

The Tuya app is correctly detecting the DP instructions provided by the manufacturer and using them. The Tuya integration in HA is only reading the category and using the incorrect standard instructions. The DP instructions are contained within the info that can be pulled from the Tuya Cloud.

What version of Home Assistant Core has the issue?

2024.6.4

What was the last working version of Home Assistant Core?

2024.6.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tuya Integration

Link to integration documentation on our website

No response

Diagnostics information

tuya-d74faf080ad1e0616eefb005b4dd53be-Basement.24G.Presence.Sensor-7579407dae1b7a53c6a398f9fc46c455.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 3 months 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)

iantrobinson commented 1 month ago

Any updates on this?