mirror of
https://github.com/esphome/esphome.git
synced 2025-01-19 12:24:05 +00:00
Fix bad climate control enum (#1942)
This commit is contained in:
parent
d73a44c504
commit
969834e037
@ -36,7 +36,7 @@ ClimateTraits = climate_ns.class_("ClimateTraits")
|
|||||||
ClimateMode = climate_ns.enum("ClimateMode")
|
ClimateMode = climate_ns.enum("ClimateMode")
|
||||||
CLIMATE_MODES = {
|
CLIMATE_MODES = {
|
||||||
"OFF": ClimateMode.CLIMATE_MODE_OFF,
|
"OFF": ClimateMode.CLIMATE_MODE_OFF,
|
||||||
"HEAT_COOL": ClimateMode.CLIMATE_HEAT_COOL,
|
"HEAT_COOL": ClimateMode.CLIMATE_MODE_HEAT_COOL,
|
||||||
"COOL": ClimateMode.CLIMATE_MODE_COOL,
|
"COOL": ClimateMode.CLIMATE_MODE_COOL,
|
||||||
"HEAT": ClimateMode.CLIMATE_MODE_HEAT,
|
"HEAT": ClimateMode.CLIMATE_MODE_HEAT,
|
||||||
"DRY": ClimateMode.CLIMATE_MODE_DRY,
|
"DRY": ClimateMode.CLIMATE_MODE_DRY,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user