From 80c8bf675c56e0a4ce81c43bbf1efa2fcfbd4a01 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sat, 16 May 2020 17:44:29 +0200 Subject: [PATCH] Publish teleperiod data on command TelePeriod Publish teleperiod data on command ``TelePeriod`` (#2567) --- tasmota/support_command.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/support_command.ino b/tasmota/support_command.ino index cee21783e..6e0a74c93 100644 --- a/tasmota/support_command.ino +++ b/tasmota/support_command.ino @@ -1600,8 +1600,9 @@ void CmndTeleperiod(void) if ((XdrvMailbox.payload >= 0) && (XdrvMailbox.payload < 3601)) { Settings.tele_period = (1 == XdrvMailbox.payload) ? TELE_PERIOD : XdrvMailbox.payload; if ((Settings.tele_period > 0) && (Settings.tele_period < 10)) Settings.tele_period = 10; // Do not allow periods < 10 seconds - tele_period = Settings.tele_period; +// tele_period = Settings.tele_period; } + tele_period = Settings.tele_period; // Show teleperiod data also on empty command ResponseCmndNumber(Settings.tele_period); }