mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 06:58:11 +01:00
Fix custom mode_state_topic (#2827)
This commit is contained in:
parent
6f07421911
commit
f50e40e0b8
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ async def setup_climate_core_(var, config):
|
||||||
if CONF_MODE_COMMAND_TOPIC in config:
|
if CONF_MODE_COMMAND_TOPIC in config:
|
||||||
cg.add(mqtt_.set_custom_mode_command_topic(config[CONF_MODE_COMMAND_TOPIC]))
|
cg.add(mqtt_.set_custom_mode_command_topic(config[CONF_MODE_COMMAND_TOPIC]))
|
||||||
if CONF_MODE_STATE_TOPIC in config:
|
if CONF_MODE_STATE_TOPIC in config:
|
||||||
cg.add(mqtt_.set_custom_state_topic(config[CONF_MODE_STATE_TOPIC]))
|
cg.add(mqtt_.set_custom_mode_state_topic(config[CONF_MODE_STATE_TOPIC]))
|
||||||
|
|
||||||
if CONF_SWING_MODE_COMMAND_TOPIC in config:
|
if CONF_SWING_MODE_COMMAND_TOPIC in config:
|
||||||
cg.add(
|
cg.add(
|
||||||
|
|
Loading…
Reference in a new issue