add user state request callback
This commit is contained in:
parent
7b14acfa18
commit
2a51b51e35
|
@ -600,6 +600,7 @@ void state_request_callback(String topic, String message)
|
|||
publish_input_states();
|
||||
publish_pwm_states();
|
||||
publish_ac_state();
|
||||
user_state_request_callback();
|
||||
}
|
||||
|
||||
void ir_loop()
|
||||
|
|
|
@ -88,4 +88,8 @@ void ac_changed_user_callback(int mode, int temperature, int fan_speed) {
|
|||
|
||||
void mqtt_connected_user_callback() {
|
||||
|
||||
}
|
||||
|
||||
void user_state_request_callback() {
|
||||
|
||||
}
|
|
@ -26,6 +26,7 @@ void timer_tick_callback();
|
|||
void timer1_callback();
|
||||
void mqtt_connected_user_callback();
|
||||
void bt0PopCallback(void *ptr);
|
||||
void user_state_request_callback();
|
||||
|
||||
|
||||
// ESPMega IoT Core Build-in Functions
|
||||
|
|
Loading…
Reference in New Issue