 int led1 = D7;
 int powertail = D5;
 
-float temperature;
-float minuteAverage;
-float outdoorTemp;
+double temperature;
+double minuteAverage;
+double outdoorTemp;
 double tempOnThreshold = 60.0;
 double tempOffThreshold = 65.0;
 int power = 0;

    if(sensors.count() > 0) {
      sensors.read();

      minuteAverage = sensors.minute_average;
      temperature = sensors.temp;

      Serial.print("Temp: ");
      Serial.println(temperature);

  if (tempStr != NULL) {
    f_temp = tempStr.toFloat();
    if (f_temp !=0) {
      outdoorTemp = (double)f_temp;
      publishTemp("outdoor_temp", "Outdoor Temp: ", outdoorTemp);
    }
  }
