From be85d3a0602ac15967a7775e899cf8636cdf9029 Mon Sep 17 00:00:00 2001 From: Hadinger Date: Fri, 10 Jan 2020 20:54:13 +0100 Subject: [PATCH] Fix ``WakeUp `` ignores provided value (#7473) --- tasmota/CHANGELOG.md | 1 + tasmota/xdrv_04_light.ino | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/CHANGELOG.md b/tasmota/CHANGELOG.md index db1e951e9..e260285e8 100644 --- a/tasmota/CHANGELOG.md +++ b/tasmota/CHANGELOG.md @@ -4,6 +4,7 @@ - Add support for gzipped binaries - Update IRremoteESP8266 lib updated to v2.7.2 +- Fix ``WakeUp `` ignores provided value (#7473) ### 8.1.0.2 20191230 diff --git a/tasmota/xdrv_04_light.ino b/tasmota/xdrv_04_light.ino index 5cbcecdfa..9526f8c82 100644 --- a/tasmota/xdrv_04_light.ino +++ b/tasmota/xdrv_04_light.ino @@ -2325,7 +2325,7 @@ void CmndScheme(void) void CmndWakeup(void) { if ((XdrvMailbox.payload >= 0) && (XdrvMailbox.payload <= 100)) { - Settings.light_dimmer = XdrvMailbox.payload; + light_controller.changeDimmer(XdrvMailbox.payload); } Light.wakeup_active = 3; Settings.light_scheme = LS_WAKEUP;