 *******************************************************************************/
 //randomly chosen value here. The only thing that matters is that it's not 255
 // since 255 is the default value for uninitialized eeprom
-// I used 137 in version 0.21 already
-#define EEPROM_VERSION 138
+// I used 137 and 138 in version 0.21 already
+#define EEPROM_VERSION 139
 #define EEPROM_ADDRESS 0
 
 struct EepromMemoryStructure {
   uint8_t version = EEPROM_VERSION;
-  float targetTemp;
+  uint8_t targetTemp;
   uint8_t internalFan;
   uint8_t internalMode;
 };

  // data just read with the previous EEPROM.get() is invalid and we will ignore it
  if ( myObj.version == EEPROM_VERSION ) {

    targetTemp = myObj.targetTemp;
    newTargetTemp = targetTemp;

    internalMode = convertIntToMode( myObj.internalMode );

           * updating the blynk cloud periodically
           * added in the blynk app the state of the thermostat (also published in the particle cloud)
           * here is the link for cloning the blynk app http://tinyurl.com/zq9lcef
           * changed all eeprom values to uint8_t to save space and bytes written
             this saves eeprom pages to be written more often than needed
             (for instance a float takes 4 bytes and an uint8_t takes only 1)

TODO:
  * add multi thread support for photon: SYSTEM_THREAD(ENABLED);
