Closed malosaa closed 2 years ago
I'm having the same issue. My AC FQC8150 can be controlled through HA but the state is never updated and will always show as turned off.
Same issue with my 'qn' kogan panel heater. The v1 tuya component at least let me turn it on and off but now i've lost that with v2
Same issue with 'eurom smart electric heater' current temperature is null and operations are not available. Home assistant version 2021.10.4
Let's hope they fix it... @Daandeve
Can anyone tag the developer? As this bug is almost for all electric heaters
Als you know what's weird, I have also homeseer v4, there is a tuya plugin and works as expected.. so the Home assistant version has a bug
I found a way to fix the status and operation mode, but for heaters like i have with a certain ventilation level i don't know how to add it
please try this one, for me it works.
@DatDraggy @SgtBatten @Daandeve @pfefferle
I think i fixed also the fan control.
i will test some versions and upload it here. than everything should be fixed.
@malosaa thank you for your effort but I think it would be better to create a fork and change it there, to easily see changes and maybe even make improvements. Then you could make a pull request to have your changes integrated in the repo too
ill do it now
@DatDraggy
https://github.com/malosaa/tuya-home-assistant/blob/master/custom_components/tuya_v2/climate.py
in my last edit i did see this: with the newer api i did see that DPCODE_FAN_SPEED_ENUM has changed to DPCODE_LEVEL, so that fixes my fan speed.
//UPDATE Added DPCODE_FAN_SPEED_ENUM + DPCODE_LEVEL to support both
But if u take a look, it fixes all the problems posted here. All my heaters show now the status, fanspeed, and on/of works correct in operation
this is my first device when it's off
here my second device turned on.
It seems like now every device is regarded as a heater. My air conditioning unit is now only for heating but still doesn't update it's status
It seems like now every device is regarded as a heater. My air conditioning unit is now only for heating but still doesn't update it's status
i will look at it now, weird, i have no problems here.
@DatDraggy
i did some rewrite, try now
Replaced file, restarted, still the same
Before there were much more actions
Where is the climate.py file located in home assistant 2021.10.4?
It does not work in my integration. My heaters look like this:
What is more in my loga I have: Oct 18 10:55:46 havm hass[15099]: 2021-10-18 10:55:46 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform tuya_v2.sensor: Platform not found (cannot import name 'STATE_CLASS_TOTAL_INCREASING' from 'homeassistant.components.sensor' (/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/sensor/init.py)).
Where is the problem?
That's really weird, here they show up normal. I did restart many times and everything is working.
I'll check again today to see if I did perhaps forget something for that specific device
any update on this issue? Still not working
@kxqcvl More info on this topic #574
This issue has been fixed with the Home Assistant Core version of the integration. This fix will be published with the Home Assistant Core 2021.11 release.
@frenck I just tested it, and doesnt work, this one is updated 3 days ago (core version) https://github.com/home-assistant/core/blob/dev/homeassistant/components/tuya/climate.py
Regards
@malosaa Please file a bug in that case at our Core repository and provide all needed details and debug logs. That way I can take a look at what is going on.
@frenck ok doing it now
regards
Describe the bug Can not control the device, operation button is no option in it
Expected behavior It get detected, i can control the temp, but when its on it says it's off, and not able to select an operation.
Screenshots![image](https://user-images.githubusercontent.com/13116501/134338325-ed60db9c-aac2-480b-b488-f10cafbaf2ae.png)
thermostat module![image](https://user-images.githubusercontent.com/13116501/134338418-fa9f929c-adb0-4b3a-85bf-2bef704cf5be.png)
Home Assistant Version
**Device info (please complete the following information, which can be found in [log](https://github.com/tuya/tuya-home-
**Device specifications
Additional context