Add "1/0" entry for HVAC_MODE_SETS
BHT-002 thermostat DP #4 set the heating mode (auto or manual). The accepted values are strings "0" for auto mode and "1" for manual mode. This commit add an entry "1/0" to support this behaviour.
This commit is contained in:
committed by
rospogrigio
parent
54dbc3a359
commit
8a696cbaf2
@@ -72,6 +72,10 @@ HVAC_MODE_SETS = {
|
|||||||
"True/False": {
|
"True/False": {
|
||||||
HVAC_MODE_HEAT: True,
|
HVAC_MODE_HEAT: True,
|
||||||
},
|
},
|
||||||
|
"1/0": {
|
||||||
|
HVAC_MODE_HEAT: "1",
|
||||||
|
HVAC_MODE_AUTO: "0",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
HVAC_ACTION_SETS = {
|
HVAC_ACTION_SETS = {
|
||||||
"True/False": {
|
"True/False": {
|
||||||
|
Reference in New Issue
Block a user