core: Tuya Climate - cannot set temperature
The problem
I have a thermostat connected to the Tuya platform integrated to my Home Assistant. During the configuration I had to set parameters Temperature values divider and Current temperature value divider to “10”. I can see current temperature on my Dashboard (see attached screenshot). However in case I will try to change the target temperature (via moving the the slider), the current temperature disappears and title “Unavailable” is displayed for some time (probably until next state refresh from device). After some period, the current temperature is displayed again. But the target temperature is not set on thermostat. In the history I can see “Became unavailable by service climate.set_temperature”.
I have written a simple script to set the target temperature via script.
termostat26:
alias: TERMOSTAT 26
sequence:
- service: climate.set_temperature
data:
entity_id: climate.501170138caab5ebe016
temperature: 26
But the result is the same (tried to set temperature to 26 and 260). After calling the script, the device became Unavailable for a while and target temperature is not set.
Setting target temperature via native Tuya mobile app or directly on device works OK.
No errors or warnings are displayed in Home Assistant log.
Environment
- Home Assistant Core release with the issue: 0.118.4
- Last working Home Assistant Core release (if known): N/A
- Operating environment (OS/Container/Supervised/Core): Raspberry Pi (HassOS 4.17)
- Integration causing this issue: Tuya
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/tuya/
Problem-relevant configuration.yaml
Traceback/Error logs
No errors are produced in any Home Assistant log.
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15
Awesome this works! Installed with script et all, works like a charm!
Found a solution in a custom component. Just yesterday I installed, configured and everything works as it should. In the near future, i think it will be transferred to the main component. Link: https://github.com/ollo69/ha_tuya_custom
Hi, I am trying to get this to work as well, all I manage to get is:
Any ideas before I order more thermostats?