Fixed interaction of T and NL HTTP API commands (#1214)

This commit is contained in:
cschwinne
2020-10-02 12:30:17 +02:00
parent bf9360f374
commit 3107943af8
6 changed files with 21 additions and 17 deletions

View File

@@ -134,7 +134,7 @@ void colorUpdated(int callMode)
if (bri > 0) briLast = bri;
//deactivate nightlight if target brightness is reached
if (bri == nightlightTargetBri && callMode != NOTIFIER_CALL_MODE_NO_NOTIFY) nightlightActive = false;
if (bri == nightlightTargetBri && callMode != NOTIFIER_CALL_MODE_NO_NOTIFY && nightlightMode != NL_MODE_SUN) nightlightActive = false;
if (fadeTransition)
{