diff --git a/custom_components/localtuya/climate.py b/custom_components/localtuya/climate.py index 1400ec7..f6433b2 100644 --- a/custom_components/localtuya/climate.py +++ b/custom_components/localtuya/climate.py @@ -72,6 +72,10 @@ HVAC_MODE_SETS = { "True/False": { HVAC_MODE_HEAT: True, }, + "1/0": { + HVAC_MODE_HEAT: "1", + HVAC_MODE_AUTO: "0", + }, } HVAC_ACTION_SETS = { "True/False": { diff --git a/custom_components/localtuya/manifest.json b/custom_components/localtuya/manifest.json index bfaf4cc..67c90f4 100644 --- a/custom_components/localtuya/manifest.json +++ b/custom_components/localtuya/manifest.json @@ -1,7 +1,7 @@ { "domain": "localtuya", "name": "LocalTuya integration", - "version": "4.0.1", + "version": "4.0.2", "documentation": "https://github.com/rospogrigio/localtuya/", "dependencies": [], "codeowners": [