update state callback
This commit is contained in:
parent
2079c77a7a
commit
6963ea78df
|
@ -296,4 +296,8 @@ void pwm_update_lcd() {
|
|||
void mqtt_connected_user_callback() {
|
||||
mqtt.subscribe(AC_LOCK_TOPIC, ac_lock_callback);
|
||||
ac_lock_report();
|
||||
}
|
||||
|
||||
void user_state_request_callback() {
|
||||
ac_lock_report();
|
||||
}
|
|
@ -72,6 +72,7 @@ void ac_update_lcd();
|
|||
void pwm_update_lcd();
|
||||
void mqtt_connected_user_callback();
|
||||
void ac_lock_report();
|
||||
void user_state_request_callback();
|
||||
|
||||
// ESPMega IoT Core Build-in Functions
|
||||
extern void pwm_set_state(int id, int state);
|
||||
|
|
Loading…
Reference in New Issue