 
 void loop() {
     if (Spark.connected() && millis() - lastTimeSync > ONE_DAY_MILLIS) {
-    // Request time synchronization from the Spark Cloud
-    Spark.syncTime();
-    lastTimeSync = millis();
+        // Request time synchronization from the Spark Cloud
+        Spark.syncTime();
+        lastTimeSync = millis();
     }
     
     if(power < 1) {
-      fill_solid(leds, NUM_LEDS, CRGB::Black);
-      FastLED.show();
-      FastLED.delay(250);
-      return;
+        fill_solid(leds, NUM_LEDS, CRGB::Black);
+        FastLED.show();
+        FastLED.delay(15);
+        return;
     }
     
     uint8_t delay = patterns[patternIndex].drawFrame();

}

uint8_t water() {
    heatMap(icePalette, false);
    
    return 30;
}

};

template <size_t armCount, size_t armLength>
void fillSpiral(uint8_t (&spiral)[armCount][armLength], bool reverse, CRGBPalette16 palette) {
    fill_solid(leds, NUM_LEDS, ColorFromPalette(palette, 0, 255, BLEND));
    
    byte offset = 255 / armCount;
    static byte hue = 0;
    
    for(uint8_t i = 0; i < armCount; i++) {
        CRGB color;
        
        if(reverse)
            color = ColorFromPalette(palette, hue + offset, 255, BLEND);
        else
            color = ColorFromPalette(palette, hue - offset, 255, BLEND);
        
        for(uint8_t j = 0; j < armLength; j++) {
            leds[spiral[i][j]] = color;
