 
   //store thresholds in the struct type that will be saved in the eeprom
   eepromMemory.version = EEPROM_VERSION;
-  eepromMemory.targetTemp = targetTemp;
+  eepromMemory.targetTemp = uint8_t(targetTemp);
   eepromMemory.internalMode = convertModeToInt(internalMode);
 
   eepromMemory.internalFan = 0;

*******************************************************************************/
//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
#define EEPROM_ADDRESS 0

struct EepromMemoryStructure {
  uint8_t version = EEPROM_VERSION;
  float 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 = float( myObj.targetTemp );
    newTargetTemp = targetTemp;

    internalMode = convertIntToMode( myObj.internalMode );
