mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 00:18:11 +01:00
Fixed default temperature step values for haier climate (#5330)
This commit is contained in:
parent
35b5dadb99
commit
47735d1dae
1 changed files with 4 additions and 6 deletions
|
@ -136,12 +136,10 @@ def validate_visual(config):
|
|||
f"Configured visual temperature step {temp_step} is wrong, it should be a multiple of 0.5"
|
||||
)
|
||||
else:
|
||||
config[CONF_VISUAL][CONF_TEMPERATURE_STEP] = (
|
||||
{
|
||||
config[CONF_VISUAL][CONF_TEMPERATURE_STEP] = {
|
||||
CONF_TARGET_TEMPERATURE: PROTOCOL_TARGET_TEMPERATURE_STEP,
|
||||
CONF_CURRENT_TEMPERATURE: PROTOCOL_CURRENT_TEMPERATURE_STEP,
|
||||
},
|
||||
)
|
||||
}
|
||||
else:
|
||||
config[CONF_VISUAL] = {
|
||||
CONF_MIN_TEMPERATURE: PROTOCOL_MIN_TEMPERATURE,
|
||||
|
|
Loading…
Reference in a new issue