Thanks for this info.
Originally I had double values displayed (42C instead of 21C), but after changing the Temperature values divider from 0 (default) to 2 it started to show the correct value!
Szia, nem. A topicban irtam, hogy talaltam azt a leirast es megrendeltem a mqtt zigbee illeszteshez a cuccokat. Kozben rajottem, hogy a radios termosztat esp kompatibilis, lehet, kiprobalom atasmotat.
I understand that there are some issue with Tuya climate devices, especially related to precision used.
Unfortunately Tuya manage many different devices with different specification and in some case one fix broke functionality for another.
At this moment there are a couple of PR opened in TuyaHA and other opened in HA, some of them in conflict each other.
I don’t have Tuya climate device, but as codeowner of Tuya integration my objective is to have integration working fine for all.
I created some times ago custom integration Tuya Custom with the only scope to perform tests before creating PR in official integration and related library.
I just finished today to re-align this integration with my last changes released HA official component, so features provided are exactly the same, but perform test will be simplest. I also added some fixes for climate device based on issues open in the repository itself, but tester with climate device are required to validate the fixes.
My suggestion is to create PR there, I will be happy to review them together to find the best solution, than we will come back to official repository when everything is fine, avoiding any possible breaking change for device that doesn’t have any issue.
After adding divider into configuration, I can’t control temperature from HA
Logger: tuyaha.tuyaapi
Source: /usr/local/lib/python3.8/site-packages/tuyaha/tuyaapi.py:273
First occurred: 13:51:57 (2 occurrences)
Last logged: 16:03:55
control device error, error code is ValueOutOfRange
Great job!
Only on more thing:
The HVAC_MODE seems to only show ‘Off’ or Auto. Anyone know how it can be persuaded to show ‘Heat’ when it is heating and maybe even ‘Idle’ when it is switched on but at target temp and hence not using power.
This might be an old post, but I faced the same issue
and found out that there is a simple solution without custom component or code changes
I’m using Home Assistant Core 2020.12.2, I guess it is the same for some older versions as well
In the integrations -> tuya -> options
Select your climate device under the option “Select the devices to configure…” and click submit.
This will forward you to a climate device settings screen
Then you can configure the “current temperature value divider”
I followed your GitHub manual installation instructions and created the “custom_components” folder in my /config/custom_components/tuya_custom. I then copied your GitHub folder in to the sub directory. But after restating the server I could not find any “Tuya Custom” version in the Integrations menu…only the original Tuya version is present.
EDIT: my system is running the latest versions 2020.12.7 & HA OS 5.9
Is there some thing else that I have missed?
With the standard Tuya integration my ProTouch start thermostats don’t see any temperatures at all. Please see the screen shot from my HA instance. Does anyone have any suggesting?
I installed TUYA_CUSTOM from my mobile phone after uninstalling the standard Tuya integration. I then restarted my server and checked the thermostat overview page that I had previously created. Unfortunately its still not showing actual temperatures (just shows 0 degC) is all that is displayed. I can only use the cards to turn on (Auto) and off the heating systems. I changed the Tuya_custom settings as suggested in the earlier posts to halves and now when i move the green circular temperature set point it does show the setting from the Dashboard card however these are not retained when the thermostat is cycled on and off and on again.
When I edit the dashboard page and check the code for one thermostat I have the following: