 
 Adafruit_MQTT_Client mqtt(&client, SERVER, SERVERPORT);
 Adafruit_MQTT_Subscribe onoffsw = Adafruit_MQTT_Subscribe(&mqtt, "/light/1");
+Adafruit_MQTT_Publish temp_mqtt = Adafruit_MQTT_Publish(&mqtt, "/temp/1");
 
 // Bug workaround for Arduino 1.6.6, it seems to need a function declaration
 // for some reason (only affects ESP8266, likely an arduino-builder bug).



void setup() {
  pinMode(LED, OUTPUT);
  Serial.begin(74880);
  delay(10);


  // Setup MQTT subscription for onoff feed.
  mqtt.subscribe(&onoffsw);
  updateTemperature();
}


