Tuya: Contact Sensor (unsupported) (p6sqiuesvhmhvv4f)
The problem
contact sensor added trough tuya shows up but is unsupported and has no entity
What version of Home Assistant Core has the issue?
core-2024.11.1
What was the last working version of Home Assistant Core?
na
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-01JCE65HKC1MCFXVTRS45N1F8F-Contact Sensor 3-3b524edf2a5f36d7f5045fea3e41a442.json
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
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 closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign tuyaRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove 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)
Hi, same device type here. Using HA 2024.12.0 still not supported.
Please add this contact sensor.
Thanks Marcus
Hi, have the same problem, please add this contact sensor.
Thanks Sebastian
I have a few of these sensors, I'd very much love to see these become supported please.
Same for me. I would also very much love to see these device to be supported please. Thanks !
Unfortunately I'm facing the same Problem 3x tuya Contact Sensor p6sqiuesvhmhvv4f unsupported,... only able to use them with the SmartLife/ Tuya App :-(
HA Version Core 2025.2.5 python_version 3.13.1 Supervisor 2025.02.1 Operating System 14.2 Frontend 20250221.0
hi @frenck did you happen to have time to look into this? Thanks 👍
Hi, i am facing the same issue, will this request be merged in future releases?
Same here, contact sensor isn't working with Home assistant, shows 0 entities + unsupported.
Same here :(
Might be the same problem as in https://github.com/home-assistant/core/issues/142137#issuecomment-2810383199
Same, I hope it is implemented with
Same here.
PLUS ONE
Plus one. Same here
plus one
Same for me.
plus one
Same here.
I'm having the same problem :(
+1 Just bought a load of door sensors and now trying to install them, HA says unsupported
frrr me too londonjammo
+1 Just bought a load of door sensors and now trying to install them, HA says unsupported
yeah I had a bunch kind of sucks ha doesn't support them considering getting some small esp32s to see if I can put them in the case yeah it won't run of 2 AAAs but at least it will be useful.
although with some researching it looks like people have had luck with node red so I might try that
Hi, I am still waiting for the real HA integration of these sensors.
But as I had iobroker running anyways, I added TUYA integration there and have a script which publishes the state of these sensors to my HA instance via MQTT. you need:
- iobroker
- mqtt (iobroker somehow connect to HA, I have standalone mosquitto broker running)
- tuya adapter (in iobroker)
the script is from https://forum.iobroker.net/topic/78685/iobroker-mqtt-homeassistent-autodiscovery but I modified it to send the contact state as binary sensor. And it might not work for anything else....
You need to mark the states to be published with the function "homeassistent_enabled", really the object doorcontact_state (has name 101 in my case)
Script: script-makedevicesHADiscovery.txt
In HA, I see the sensor twice, TUYA unsupported:
But the MQTT device works :-)
Yes, you need iobroker in addition to HA, but it should be fine to install just the tuya and mqtt adapters.
This is definitely a workaround and might be the node-red way is easier. As mentioned, I had iobroker running anyways, including mqtt and tuya, so this was quick :-)
Hope this helps Marcus
@mmmchen never heard of iobroker before I'll have to take a look at it and see if I can get this setup
Hi @404invalid-user ,
might be setting up iobroker just for this is a bit heavy weight.
good luck
+1 tried different setups, also LocalTuya config but the issue still there even though having client-id and client-secret
We would still like to see these contact sensors supported in HA directly.
I built a small bridge Tuya Cloud to MQTT to support these devices. Just a temporary patch until they get supported in the official integration. Runs as local add on
Hi, Plus one to integrate these devices please. Meanwhile I have just tried a simple workaround... I have other tuya devices that are working in HA, I chose a smart plug that includes a child lock setting, which I don't use, so: Create an scene in smartlife app that turns on the child lock when contact is closed Create a second scene that turns off when contact is open. I can now use the child lock sensor in HA to represent the Contact 🙂. Hth Octo
Also having this problem