diff --git a/tasmota/i18n.h b/tasmota/i18n.h index df7cff12b..fed6930d7 100644 --- a/tasmota/i18n.h +++ b/tasmota/i18n.h @@ -494,6 +494,7 @@ #define D_JSON_MOTOR_MIS "setMIS" #endif + // Commands xdrv_27_Shutter.ino #ifdef USE_SHUTTER #define D_PRFX_SHUTTER "Shutter" #define D_CMND_SHUTTER_OPEN "Open" diff --git a/tasmota/xdrv_07_domoticz.ino b/tasmota/xdrv_07_domoticz.ino index 9d24d6edf..b20e0335c 100644 --- a/tasmota/xdrv_07_domoticz.ino +++ b/tasmota/xdrv_07_domoticz.ino @@ -617,6 +617,7 @@ void DomoticzSaveSettings(void) bool Xdrv07(uint8_t function) { bool result = false; + if (Settings.flag.mqtt_enabled) { // SetOption3 - Enable MQTT switch (function) { case FUNC_EVERY_SECOND: