ollo69 / ha_tuya_custom

Tuya Custom Component for testing
Apache License 2.0
39 stars 18 forks source link

climate attribute 'current_temperature' has the same value as 'temperature' #41

Open RegorFromMontmartre opened 3 years ago

RegorFromMontmartre commented 3 years ago

climate attributes 'temperature' and 'current_temperature' seem to always send back the same value, the target temperature for both ( FYI : in the current main tuya integration, current_temperature was always null. I switched to ha_tuya_custom in hopes to find a fix for this but... while there now is a reported value, the reported value is wrong )

ollo69 commented 3 years ago

When current_temperature information from Tuya API is not available, the integration use the target temperature value, because is the only information available. As alternative the integration also allow to configure an external temperature sensor to use instead (see ReadME for details). This are the only 2 possible option due to Tuya API limitation.