Closed r-t-s closed 3 months ago
You are using HA 2024.5.5 with tuya-local 2024.4.0
This combination will not work, please upgrade tuya-local to 2024.5.3 and make another report if that version is not working.
I initially tested with 2014.5.3, that's where it failed. Then worked backwards ... I issued the report while testing different versions. It worked when I went back to 2014.3.3
I found the problem ... it is a BUG in the owon_pct513_thermostat.yaml file. It does not handle units in "F" correctly. I have a modified file (I attached) that mostly works. The remaining problem is the STEP is 1/2 degree when unit's is "F" It is supposed to be 1/2 degree for "C". But it's only a minor UI issue. owon_pct513_thermostat.yaml.txt Please reopen this ticket. Tested with 2024.6.0
The suggested changes are conflicting with the logs supplied in earlier reports for this device #100 and #875. So without clear logs on this issue, it is not clear that this is the correct resolution.
I suggest to turn on debug logging and collect some logs of the temperature in Fahrenheit being changed.
Describe the bug When trying to change the temp, it shows a range of 0 - 1. Then of course that fails. This works in 2014.3.3 ... I Tried multiple 2014.4.x and 2014.5.x versions.
To Reproduce Just try to change the temperature
Expected behavior The thermostat temperature should change without any errors in the log file.
Additional context This is an owen PCT513-TY thermostat.
If the bug involves a device, then please include device diagnostics from Settings / Devices & Services / Tuya Local (your device) / "1 device"
Please check if there are messages from Tuya Local in the Home Assistant log (Settings / System / Logs), and include those too.
If applicable, add screenshots to help explain your problem. Normal Display (Before Setting temp)
While settig temp range between 0 and 1
![Setting](https://github.com/make-all/tuya-local/assets/11230849/208c5d03-e3e0-4ec5-8592-6b956c82cb8e)