make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.33k stars 519 forks source link

Inkbird (ISV-200W) works in Celsius mode, but not Fahrenheit #1416

Closed mikeage closed 10 months ago

mikeage commented 10 months ago

Describe the bug I just started using this integration to control my ISV-200W sous vide device. If the device is configured for Celsius, then the temperature shows up correctly in HA (e.g., 22.8 right now) and the range of settable temps is correct, 0 - 96.0 degrees.

If I change it to Fahrenheit, it shows the same 22.8C as -5.1F, and the range is -17.8 to 35.6F.

Interestingly, 22.8, if interpreted as Fahrenheit, is -5.1C, so it seems like it's not recognizing the units correct.

To Reproduce Set up an ISV-200W, change it to Fahrenheit

Expected behavior Range is 32 - 204 F

Additional context

If the bug involves a device, then please include device diagnostics from Settings / Devices & Services / Tuya Local (your device) / "1 device":

here: tuya_local-9cea1e614cd5d21c15e95d5b61db4830-Inkbird ISV-200W-0ef2ec69244474681518b17cb794cabe.json.txt

Please check if there are messages from Tuya Local in the Home Assistant log (Settings / System / Logs), and include those too.

none

If applicable, add screenshots to help explain your problem.

mikeage commented 10 months ago

Perfect, that works! (testing with a manual cherry-pick)