mirror of
https://github.com/esphome/esphome.git
synced 2025-02-20 20:08:20 +00:00
Fix custom mode_state_topic (#2827)
This commit is contained in:
parent
6f07421911
commit
f50e40e0b8
@ -213,7 +213,7 @@ async def setup_climate_core_(var, config):
|
||||
if CONF_MODE_COMMAND_TOPIC in config:
|
||||
cg.add(mqtt_.set_custom_mode_command_topic(config[CONF_MODE_COMMAND_TOPIC]))
|
||||
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:
|
||||
cg.add(
|
||||
|
Loading…
x
Reference in New Issue
Block a user