How to save sensor value in EEPROM? (ESP8266)?

Also, this needs to be adjusted accordingly.

Use:

const size_t eepromSize = sizeof(float);