mileperhour / localtuya-homeassistant

local handling for Tuya devices
GNU General Public License v3.0
147 stars 667 forks source link

Problem with Avidsen Home Flow Thermostat #51

Open raziel83257 opened 8 months ago

raziel83257 commented 8 months ago

Hi, I have a Avidsen Home Flow Thermostat, I've been able to connect to my tuya account and use localtuya to have it in home assistant.

But make the HVAC_MODE switch between manual and program i had to add these lines in /config/custom_components/localtuya/climate.py: HVAC_MODE_SETS= { "manual/program": { HVAC_MODE_HEAT: "manual", HVAC_MODE_AUTO: "program", },

Because "Manual/Program": { HVAC_MODE_HEAT: "Manual", HVAC_MODE_AUTO: "Program", }, is not working, seems that this settings are case sensitive...

Could you add it to master branch? in this way I don't have to worry for future updates.

Thank you Regards