diff --git a/Sensor-API.md b/Sensor-API.md index 99029dee..809ac5d4 100644 --- a/Sensor-API.md +++ b/Sensor-API.md @@ -131,7 +131,7 @@ snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s{s}MPR121%c Button%d{m}%d{e}"), It should be wrapped in `#ifdef USE_WEBSERVER ... #endif // USE_WEBSERVER` ### FUNC_SAVE_BEFORE_RESTART -This callback ID is called to allow a sensor to prepare for saving configuration changes. To be used to save volatile data just before a restart. +This callback ID is called to allow a sensor to prepare for saving configuration changes. To be used to save volatile data just before a restart. Variables can be appended to `struct SYSCFG {} Settings` in file `sonoff/settings.h`. ### FUNC_COMMAND This callback ID is called when a sensor specific command ``Sensor`` is executed where xx is the sensor index.