From c15ad066d08a6b48e9c453d5c7947ca345655730 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 16 Jan 2024 16:40:57 +0100 Subject: [PATCH] Sync shutter drivers --- tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino b/tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino index c40832657..06e5e8a3e 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino @@ -46,8 +46,10 @@ #define D_ERROR_FILE_NOT_FOUND "SHT: ERROR File system not ready or file not found" const char HTTP_MSG_SLIDER_SHUTTER[] PROGMEM = + "" "
%s%s
" - "
"; + "
" + "{e}"; const uint16_t SHUTTER_VERSION = 0x0100; // Latest driver version (See settings deltas below) @@ -1162,6 +1164,7 @@ void ShutterShow() { for (uint32_t i = 0; i < TasmotaGlobal.shutters_present; i++) { WSContentSend_P(HTTP_MSG_SLIDER_SHUTTER, (ShutterGetOptions(i) & 1) ? D_OPEN : D_CLOSE,(ShutterGetOptions(i) & 1) ? D_CLOSE : D_OPEN, (ShutterGetOptions(i) & 1) ? (100 - ShutterRealToPercentPosition(-9999, i)) : ShutterRealToPercentPosition(-9999, i), i+1); + WSContentSeparator(3); // Don't print separator on next WSContentSeparator(1) } }