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.
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