tuya-home-assistant icon indicating copy to clipboard operation
tuya-home-assistant copied to clipboard

Climate entity (BHT-002 Thermostat) showing incorrect temperatures

Open SinnoTech opened this issue 3 years ago • 7 comments

Describe the bug The Thermostat integration of Tuya platform does not show the thermostat entity correctly, only one entity show (which is the minimum requirement i guess), but this entity shows min 1degree and max 7degrees instead of the standard temp range in the app (5 to 35).

Screen lock not available in HA

image

image

image

Expected behavior

  • Temperature range and set temperature to be as in tuya app. Thus range from 5 - 35 degrees.
  • Mode settings to show and be settable, like manual mode / schedule / auto
  • Screen lock available in HA

Screenshots image

image

image

Home Assistant Version

  • e.g. 2021.12.9

SinnoTech avatar Jan 22 '22 08:01 SinnoTech

I have the same issue... By the way the "current_temperature" attribute on the climate entitiy is "null" but it should contain the current value

SaSa1983 avatar Feb 08 '22 15:02 SaSa1983

I upgraded the HA core and the tuya thermostats showed a bad value again and started heating the whole house, I woke up to be very hot :), i went back to my april backup again until the bug is fixed again. Now I'm sure I'll replace all my tuya devices ...

woolf0007 avatar May 09 '22 10:05 woolf0007

I'm having the same problem... The calculation changed in 2022.5 ... I guess we need to discuss this with @frenck since voltage is not calculated the same way as temperature and now the temperature is not calculated as documented. Thus I'm also getting a fifth of the value that it should have

SaSa1983 avatar May 09 '22 21:05 SaSa1983

Same issue after upgrading to 2022.5.

aperr69 avatar Jun 04 '22 16:06 aperr69

Is there by chance any chance to add an option for generic thermostats to handle temperatures as they were handled in 2022.5.

Or is there any chance to make the template sensor Plattform support climate?

SaSa1983 avatar Jun 05 '22 06:06 SaSa1983

I have problem too

Shagrat2 avatar Sep 01 '22 20:09 Shagrat2

I have problem too.

Zamba23 avatar Sep 08 '22 05:09 Zamba23

I have problem too

vfedoretc avatar Nov 10 '22 05:11 vfedoretc

I have same problem too 2023.1.7

muttaka1 avatar Jan 28 '23 17:01 muttaka1

I also have the problem with 2023.3.2 according to the diagnosis, my wrong heater is the only one with a scale of 1. and the temperature is divided by 10

            "type": "Integer",
            "value": {
              "unit": "\u2103",
              "min": 15,
              "max": 35,
              "scale": 0,
              "step": 1
            }
          },
          "temp_current": {
            "type": "Integer",
            "value": {
              "unit": "\u2103",
              "min": 0,
              "max": 99,
              "scale": 1,
              "step": 1
            }
          }
        },
        "status": {
          "switch": false,
          "temp_set": 17,
          "temp_current": 17
        },
        "home_assistant": {
          "name": "heater living room",
          "name_by_user": "Heater dining room",
          "disabled": false,
          "disabled_by": null,
          "entities": [
            {
              "disabled": false,
              "disabled_by": null,
              "entity_category": null,
              "device_class": null,
              "original_device_class": null,
              "icon": null,
              "original_icon": null,
              "unit_of_measurement": null,
              "state": {
                "entity_id": "climate.smart_fan_heater_wififnh10cbk",
                "state": "off",
                "attributes": {
                  "hvac_modes": [
                    "off",
                    "heat"
                  ],
                  "min_temp": 15.0,
                  "max_temp": 35.0,
                  "target_temp_step": 1.0,
                  "current_temperature": 1.7,
                  "temperature": 17.0,
                  "friendly_name": "Heater dining room",
                  "supported_features": 1
                },

spartan-117 avatar Mar 09 '23 10:03 spartan-117