ok. I'll order and try one. I've no other options. But you must understand this: it is not cheap for me. I live in Turkey and we have high taxes. Getting one from Aliexpress will cost me around 50 UDS and in Turkey we don't earn a lot to throw 50$ . If it at least reports to Hubitat, would give me an idea to do irrigation or not.
Btw, you can try to be a little more empathic. everyone is not in your state. and when one does not have a lot of money, he/she can be "willing to put up with flaws" as you wrote.
This device includes standard ZCL clusters for temperature and humidity in its inClusters list. So, it may be compatible with some of the HE built-in Zigbee drivers for humidity and temperature. It's advisable to start by trying out some of these built-in drivers.
Just did a diffmerge compare for you. Both driver codes you listed are identical.
There's only a 0.4KB filesize difference (metadata), so it doesn't matter which one you use.
I'd say he just doesn't realize he has 2 of the same, or hasn't modified it yet.
I found another thread here: https://community.home-assistant.io/t/my-zigbee-soil-moisture-sensor-shootout/907192/7
That gives some background on how this type of sensor works and what affects the readings.
Some code is included to adjust readings to compensate for temperature changes. Maybe helpful for updating the Hubitat driver & applying some of that post processing kkossev mentioned in Aug 2024.
The tests comparing the Tuya/Haozee device with others might also be helpful.
Hope it's useful.