From 4c51b90663486f97cb5c7dde20263402cf50b745 Mon Sep 17 00:00:00 2001 From: Bingo2023 Date: Fri, 22 Dec 2023 20:02:12 +0100 Subject: [PATCH] modified: src/mqtt.cpp --- src/mqtt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mqtt.cpp b/src/mqtt.cpp index 265dd88c7..bdab21468 100644 --- a/src/mqtt.cpp +++ b/src/mqtt.cpp @@ -1209,7 +1209,7 @@ bool Mqtt::publish_ha_climate_config(const uint8_t tag, const bool has_roomtemp, snprintf(mode_str_tpl, sizeof(mode_str_tpl), - "{%%if %s%%}off{%%elif %s=='manual'%%}heat{%%elif %s=='day'%%}heat{%%elif %s=='night'%%}off{%%elif %s=='off'%%}off{%%else%%}auto{%%endif%%}", + "{%%if %s%%}off{%%elif %s=='Manuell'%%}heat{%%elif %s=='auto'%%}auto{%%elif %s=='aus'%%}off{%%else%%}auto{%%endif%%}", hc_mode_cond, hc_mode_s, hc_mode_s,