Skip to content

Commit

Permalink
Extent command Knx_Enabled with KNX restart functionality (#22242)
Browse files Browse the repository at this point in the history
  • Loading branch information
arendst committed Dec 6, 2024
1 parent 4ffc53b commit 789bbb8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasmota/tasmota_xdrv_driver/xdrv_11_knx.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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) );
}
Expand Down

0 comments on commit 789bbb8

Please sign in to comment.