From 789bbb8b971d1e4c2b30b396e9625554f6072e76 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Fri, 6 Dec 2024 17:40:05 +0100 Subject: [PATCH] Extent command Knx_Enabled with KNX restart functionality (#22242) --- tasmota/tasmota_xdrv_driver/xdrv_11_knx.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_11_knx.ino b/tasmota/tasmota_xdrv_driver/xdrv_11_knx.ino index 532215e04..5b537620f 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_11_knx.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_11_knx.ino @@ -1422,6 +1422,9 @@ void CmndKnxEnabled(void) { if ((XdrvMailbox.payload >= 0) && (XdrvMailbox.payload <= 1)) { Settings->flag.knx_enabled = XdrvMailbox.payload; + if (!Settings->flag.knx_enabled) { + Knx.started = false; + } } ResponseCmndChar (GetStateText(Settings->flag.knx_enabled) ); }