Update API.md

This commit is contained in:
Theo Arends 2019-11-13 12:04:20 +01:00
parent 740784db8a
commit e965daa7b5

4
API.md
View File

@ -6,7 +6,7 @@ Tasmota can easily be extended by developers using provided function pointers as
Callback availability can be checked by searching for either XdrvCall, XsnsCall, XdspCall, XnrgCall and XlgtCall. Callback availability can be checked by searching for either XdrvCall, XsnsCall, XdspCall, XnrgCall and XlgtCall.
## Driver, Sensor and Energy Callback Ids ## Driver, Sensor, Energy and Light Callback Ids
The following table lists Callback Ids and their availability for a Driver, Sensor or Energy service. The following table lists Callback Ids and their availability for a Driver, Sensor or Energy service.
@ -84,6 +84,7 @@ FUNC_DISPLAY_ONOFF | |
The following list shows a typical callback init sequence The following list shows a typical callback init sequence
```
CFG: Loaded from flash at FB, Count 1581 CFG: Loaded from flash at FB, Count 1581
xdrv - FUNC_SETTINGS_OVERRIDE xdrv - FUNC_SETTINGS_OVERRIDE
xdrv - FUNC_PIN_STATE xdrv - FUNC_PIN_STATE
@ -146,3 +147,4 @@ MQT: stat/wemos2/RESULT = {"POWER2":"ON"}
MQT: stat/wemos2/POWER2 = ON MQT: stat/wemos2/POWER2 = ON
xdrv - FUNC_MQTT_INIT xdrv - FUNC_MQTT_INIT
CFG: Saved to flash at FA, Count 1582, Bytes 4096 CFG: Saved to flash at FA, Count 1582, Bytes 4096
```