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

Yes.

Two parameters are needed to call this function. The first is an int containing the address that is to be written, and the second is the object you would like to read from that address.

EEPROM.get(addr, val);

https://www.arduino.cc/en/Reference/EEPROMGet

The esp8266 uses an area of its flash memory to emulate an EEPROM, and because of that you need to add the EEPROM.begin(size) and EEPROM.commit() when using the EEPROM.h library with the esp8266.

Other than that modifcation, the standard EEPROM.h library syntax is supported by the Arduino core for the esp8266.