         Serial.println("INFO: connected");
         mqtt_publish_state();
         mqtt_client.subscribe(MQTT_LIGHT_COMMAND_TOPIC);
+        mqtt_client.subscribe(MQTT_BRIGHTNESS_COMMAND_TOPIC);
+        mqtt_client.subscribe(MQTT_RGB_COMMAND_TOPIC);
     } else {
         Serial.print("ERROR: failed, rc=");
         Serial.print(mqtt_client.state());

    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, state.rgb);
}

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