mirror of https://github.com/arendst/Tasmota.git
Merge pull request #7477 from s-hadinger/fix_wakeup
Fix ``WakeUp <x>`` ignores provided value (#7473)
This commit is contained in:
commit
3b69fb92db
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
- Add support for gzipped binaries
|
- Add support for gzipped binaries
|
||||||
- Update IRremoteESP8266 lib updated to v2.7.2
|
- Update IRremoteESP8266 lib updated to v2.7.2
|
||||||
|
- Fix ``WakeUp <x>`` ignores provided value (#7473)
|
||||||
|
|
||||||
### 8.1.0.2 20191230
|
### 8.1.0.2 20191230
|
||||||
|
|
||||||
|
|
|
@ -2325,7 +2325,7 @@ void CmndScheme(void)
|
||||||
void CmndWakeup(void)
|
void CmndWakeup(void)
|
||||||
{
|
{
|
||||||
if ((XdrvMailbox.payload >= 0) && (XdrvMailbox.payload <= 100)) {
|
if ((XdrvMailbox.payload >= 0) && (XdrvMailbox.payload <= 100)) {
|
||||||
Settings.light_dimmer = XdrvMailbox.payload;
|
light_controller.changeDimmer(XdrvMailbox.payload);
|
||||||
}
|
}
|
||||||
Light.wakeup_active = 3;
|
Light.wakeup_active = 3;
|
||||||
Settings.light_scheme = LS_WAKEUP;
|
Settings.light_scheme = LS_WAKEUP;
|
||||||
|
|
Loading…
Reference in New Issue