To continue to add my experience to this topic, let me clarify a few things I have worked out and have the need to correct.
When my thermostat displays 32 and 44 via the Tuya integration, that is with the Tuya integration seemingly displaying Celcius, not Fahrenheit. When I use the integration to modify the file as described above and change the units to Fahrenheit, it then displays 0 and 7. Clearly, this does not make sense.
Interestingly though, when I think to apply a multiplier of 10 to the current and setpoint temps, I actually get 2 and 68 … 68 is actually the correct setpoint temperature (I have no idea what 2 is referring to).
Sadly though, I still cannot use it to change the setpoint. The setpoint continues to go up or down in 0.5 increments, irrespective of my setting, whole, halves, or tenths … it’s always 0.5, which my mini-split does not support and so it crashes the integration. That’s the next problem to fix.
Without staying the obvious 32 deg F = 0 degC and 44 degF = 6.777 degC. So it looks like you are actually displaying F when you may think it’s C? I think you knew that already though.
It sound like the 68 that you get is possibly just coincidental to your actual temperature…? Above there was talk of a fix being worked on but as we haven’t heard much from anyone about this, I’m not sure if or when this would happen. I also note that the Tuya Custom app does not have a version number and so will in the (very near) future no longer be supported/allowed in home assistant. I remain hopeful that someone will update the custom app before this eventuality happens.
Thank you for your input. I am aware of the conversions and initially thought … yep makes sense … until I noticed it was in the reverse order, 32 C =/= 0 F.
Anyway, hopefully, someone can come along and help this issue along. I only wish I knew more about coding and API’s.
p.s. edit … Ignoring the obvious conversion F/C error … the reason I have stated that the F of 0 (current) and 7 (setpoint), which when multiplied by 10 gives me a setpoint of 68 is correct, is because, when changing the set point on the mini-split/remote, HA will now actually track that change through the Tuya integration. The 68 has gone up to 69 ad 70 in HA when changing the setpoint with the mini-split remote. Sadly though, this appears to be a one way street as I described above. The Tuya integration won’t change the mini-split.
Greetings to all. I also have trouble displaying the temperature properly. Room thermostat shows x2 (instead of 22.5, shows 45C, and radiator valve / 2 (instead of 23C, shows 2.3C)
I’ve read almost everything and I don’t understand!
1.
I installed the tuya, I can see all the sensors right away.
I don’t have custom_components maps, I don’t have tuya maps.
-Temperatures are displayed but are incorrect
I make a folder “custom_components” and a folder “tuya”
I copy the files with github “climate.py”, I change the temperature / 2 according to the instructions, it still doesn’t show correctly
copy all files (init.py, manifest.json, scene.py, services.yaml,) reboot, report error … see image …
I would like to know if I even need these files in the custom_components folder? Then why does it show the temperature even without these files?
Where I divide or multiply the temperature to make it look right …
Is there a guide anywhere?
Thank you very much for your help
Version core-2021.5.5, supervisor-2021.04.3
Would be nice if they fixed this. I just got a TCL Air Conditioner and it set it up through SmartLife and my temp is doubled in Fahrenheit. I just looked though and all the git hum issues talking about it were closed with no resolution.
Guess I can try manually installing the cutom component and editing it, but didn’t really want to do that.
Hi, it worked for me:
Without touching any file, only configuration from home assistant. The steps:
1.- Go to Configuration → Integrations → Tuya → Configure
2.- Choose your thermostat in the 2 last gaps and ‘Send’ button.
3.- Then put your needs, if it shows the double, divide by 2 and ‘Halves’ like in the image (if HA shows 10 times the real value, then divide by 10 and ‘Tenths’)
4.- Send
5.- Send again without touching anything.
This is so great just what I was looking for!..weirdly enough my tuya climate entity was showing temperature as 2.4 instead of 24, I use a 10 divisor anyway and it works fine for target temperature!..I can see 24 or wherever correctly…
…sadly it was not the case with the “current temperature” value, is still display as 2.7 instead of 27 …using the Divisor option for current temperature didn’t do anything, I play there with a couple of values but nothing…Not sure what else to try…I want to avoid at all costs to make that custom tuya thing,I have too many tuya things working to risk it and I so close!!!..
Any ideas?..checking with the supervisor I get
hvac_modes:
…
min_temp: 15
max_temp: 30
target_temp_step: 0.5
current_temperature: 2.7
temperature: 24
friendly_name: Air conditioner
supported_features: 1
temperature_unit: celsius
Min, max, target_temp_step and temperature values was them all corrected by the UI setting form for the tuya climate entity…but as you can see current_temperature still report a wrong format, 2.7 should be 27…as I mention changing the according divisor did not do anything…
Other option will be if I can remove completely that “current” temperature and display just the target one, is that possible?
…never mind,I play around with some divisor values and find our that changing the current temperature divisor from 0 to 1 did the trick to change the reported current temperature from 2.6 to 26…which doesn’t have much mathematical sense to me…but ok!..I mean it was more logic with the target temperature been displayed as 2.4 with a divisor of 10 change to 24 correctly (granted more like a multiplier than a divisor but at least some numeric sense)…with this current temperature value and divisor no idea of the logic that make it work…but it does…
Please avoid all the mumbo jumbo about custom folders and manual edition of files, is just not worth it, …most things can in fact been change it by the UI …although weird, but possible…
As a side note, why is that HA have so many settings and options and it miss the most basic simple things to edit stuff…like the thermostat card for climate entities…is so hard to make options to enable/disable what you want to be displayed and what name and scale?..I mean great the card automatically populate all climate entity attributes in the card UI, but that’s assuming that you want all the time as much attributes and options for them available for all users all the time…sometime what is reported by a device on some attribute going trough the tuya API and cloud just doesn’t make any sense or is not useful at all…so why not just put some options buttons for each attribute to allow the user to decide what need and what make sense to display…Is the same thing with most cards for HA UI…auto-population, little to non settings…
…I forgot the example…
For instance, the “current temperature” reported by my splitter machine is an internal temperature, not the current room temperature…since I don’t have the options to decide what attributes display and where in the thermostat card, I forced to have that big non-sense “current” temperature big and at the center of the card…with the target temperature in a small secondary position …In my case, the information about temperature from the unit have more sense to be displayed in the opposite order or some of them not displayed at all…like better having target temperature big and at the center and the “internal” temperature just somewhere else in a small size or not at all…
Tuya and HA core team is working togheter to integrate new API in Tuya official integration. I think it will be available maximum by the end of this year, also because Tuya is going to dismiss old API on that period, but this is only my supposition.
Hi All, Now with the update to 2021.10.2 we have Tuya v2 as an integration. I have updated my dashboard with the new entity details and notice some issues with the Thermostat status not showing as “Auto” when the thermostat is in the Auto or on mode. Does anyone have any suggestions for the following setup?
To get these to work I had to edit the dashboard grid card entry using yaml and add “hvac_mode: auto” like this:
type: thermostat
name: Guest toilet
entity: climate.guest_toilet
hvac_mode: auto
Although I see this warning when in the card editing mode:
However the thermostat always shows “off” even when the thermostat is set to auto (on mode).
When I tap the three dots at the top right corner of any of the thermostats then there is no available “operation” to select. With the old integration I could select Auto or off modes.
I have similar effect:
I have 5 of Beca BHT 6000 thermostats, acctualy made integration of Tuya (with Tuya IOT developer ID as old stopped working), all my thermostats are set as manual with 21C-24C,
I can see all of them in HA, but the’re show as OFF and temps are 5x lower:
eg. bathroom set to 24C, current temp. 24C but HA shows 4,8C
with the new integration, the temp value should be multiplied by 10 and then divided by 2 to get the right value, but there’s no update on the status of the thermostat if it starts heating, in home assistant still to be “off”
I have the same. Temperatures shown as 4.4 instead 22 (divided by 10 but should be divided by 2) and no change on the mode. So is it possible to switch back to old tuya v1 that worked instead this v2 that doesn’t? Could we have both for some time?
I believe that is an option and you can install and operate both v1 and v2 integrations together. But for me, neither v1 or v2 showed the status of my brand of thermostats.