add EEPROM support
add switch warm support