core
core copied to clipboard
Thermostat reports wrong temperature
The problem
Real temperature is 21.5 and set temperature is 5, but thisi is what I see from thermostat panel
What version of Home Assistant Core has the issue?
2024.9.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Tuya
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tuya
Diagnostics information
home-assistant_tuya_2024-10-05T16-11-00.406Z.log
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)
Where Is the solution? Tanks
I have the same problem..
I have the same problem.. @nicalab67 , @liquidand
While waiting for the issue to be resolved on this integration I am using a fork that fixes the issue and can be used in addition to or instead of the other integration. https://github.com/AlessandroTischer/tuya_climate_mult_edit
I'm having the same issue...
I'm having the same issue...
https://github.com/AlessandroTischer/tuya_climate_mult_edit
I have several tuya thermostats from various manufacturers. A while ago breaking change was introduced to scale_value function in base.py (moved to entity.py with the recent update). So now devices from "proper" manufacturers shows correct temp, and from "wrong" ones - divided by 5 or so.
What fixed it for me and all my devices shows correct temp now: Locate yours base.py i.e. /usr/src/homeassistant/homeassistant/components/tuya/base.py and change function to (count your spaces):
def scale_value(self, value: float) -> float:
"""Scale a value."""
return value * self.step / (10**self.scale)
Same problem here and I have no idea where files are so I can edit them myself.
still an issue. 2025.1.2
wtf tuya?
While waiting for the issue to be resolved on this integration I am using a fork that fixes the issue and can be used in addition to or instead of the other integration. https://github.com/AlessandroTischer/tuya_climate_mult_edit
Thank you so much for this solution, works like a charm! The problem also affects the Smart Life app data export to the SmartThings app, as per this forum post. Glad your approach solves it for users of Home Assistant!
Not only it reports wrong temps, but also it does not report HVAC modes, so no way to change to "Auto" or "Manual"
Having this issue as well in °F. I dont think its 176°F in my home office but I am running a 3080 so who knows..
Have to say that before switching to tuya native integration, i was using the other Tuya integration mixed with Tuya Local because my devices were splitted between Tuya Smart and Smart Life. The thermostat was in the latter one, and was working fine, both temperature and HVAC modes.
so something is missing...
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
there hasn't been activity because you are not fixing your s**t.
the issue is still ongoing on the lastest version.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.