     } else if (payload.equals(String(ARILUX_MQTT_STATE_OFF_PAYLOAD))) {
       if (arilux.turnOff())
         cmd = ARILUX_CMD_STATE_CHANGED;
+    } else if (payload.equals(String(ARILUX_MQTT_STATE_WHITEFULLON_PAYLOAD))) {
+      if (arilux.turnOn())
+        cmd = ARILUX_CMD_STATE_CHANGED;
+      arilux.setWhite(255,255);
+      arilux.setBrightness(255);
     }
   } else if (String(ARILUX_MQTT_BRIGHTNESS_COMMAND_TOPIC).equals(p_topic)) {
     if (arilux.setBrightness(payload.toInt()))

*/


#define IR_REMOTE
// TLS support, make sure to edit the fingerprint and the MQTT broker IP address if
// you are not using CloudMQTT
#define TLS
//#define DEBUG_TELNET

#include <ESP8266WiFi.h>        // https://github.com/esp8266/Arduino
#include <PubSubClient.h>       // https://github.com/knolleary/pubsubclient/releases/tag/v2.6
#ifdef IR_REMOTE
  #include <IRremoteESP8266.h>  // https://github.com/markszabo/IRremoteESP8266
#endif
#include <ArduinoOTA.h>
#include "Arilux.h"

  } else {
    DEBUG_PRINT(F("ERROR: Sending the MQTT subscribe failed. Topic: "));
    DEBUG_PRINTLN(ARILUX_MQTT_COLOR_COMMAND_TOPIC);
  }
  if (mqttClient.subscribe(ARILUX_MQTT_WHITE_COMMAND_TOPIC)) {
    DEBUG_PRINT(F("INFO: Sending the MQTT subscribe succeeded. Topic: "));
    DEBUG_PRINTLN(ARILUX_MQTT_WHITE_COMMAND_TOPIC);
  } else {
    DEBUG_PRINT(F("ERROR: Sending the MQTT subscribe failed. Topic: "));
    DEBUG_PRINTLN(ARILUX_MQTT_WHITE_COMMAND_TOPIC);
  }
  if (mqttClient.subscribe(TOPICPING)) {
    DEBUG_PRINT(F("INFO: Sending the MQTT subscribe succeeded. Topic: "));
    DEBUG_PRINTLN(TOPICPING);
  } else {
    DEBUG_PRINT(F("ERROR: Sending the MQTT subscribe failed. Topic: "));
    DEBUG_PRINTLN(TOPICPING);
  }
}

