     return 0;
 }
 
-CRGB currentRGB() {
-    return CRGB(state.r, state.g, state.b);
-}
-
 // animation animates from 0-255.
 uint8_t animation(uint8_t speed) {
     static uint8_t an = 0;


// Fill all LEDs with the same color. This mode does not have an additional parameter.
void modeSolid() {
    fill_solid(&leds[0], NUM_LEDS, currentRGB());
}

// Fill all LEDs with a solid color on the temperature scale.

    uint8_t temperature;
    void (*effectFunc)();
    char* effect;
    CRGB rgb;
} state;

// MQTT client handles
