mirror of https://github.com/arendst/Tasmota.git
Updated Sensor API (markdown)
parent
8da78a95d2
commit
a0d5f8c9ea
|
@ -52,12 +52,8 @@ boolean Xsns<driverID>(byte callback_id) {
|
|||
|
||||
// Check which callback ID is called by Tasmota
|
||||
switch (callback_id) {
|
||||
case FUNC_PRE_INIT:
|
||||
break;
|
||||
case FUNC_INIT:
|
||||
break;
|
||||
case FUNC_LOOP:
|
||||
break;
|
||||
case FUNC_EVERY_50_MSECOND:
|
||||
break;
|
||||
case FUNC_EVERY_SECOND:
|
||||
|
@ -74,20 +70,6 @@ boolean Xsns<driverID>(byte callback_id) {
|
|||
break;
|
||||
case FUNC_COMMAND:
|
||||
break;
|
||||
case FUNC_MQTT_SUBSCRIBE:
|
||||
break;
|
||||
case FUNC_MQTT_INIT:
|
||||
break;
|
||||
case FUNC_MQTT_DATA:
|
||||
break;
|
||||
case FUNC_SET_POWER:
|
||||
break;
|
||||
case FUNC_SHOW_SENSOR:
|
||||
break;
|
||||
case FUNC_RULES_PROCESS:
|
||||
break;
|
||||
case FUNC_FREE_MEM
|
||||
break;
|
||||
}
|
||||
// } // if(i2c_flg)
|
||||
|
||||
|
|
Loading…
Reference in New Issue