mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-07 11:25:43 +00:00
on ha discovery event
This commit is contained in:
@ -1937,6 +1937,7 @@ void doHomeAssistantDiscovery(const char* topic, http_request_t* request) {
|
||||
cJSON_InitHooks(&hooks);
|
||||
|
||||
DRV_OnHassDiscovery(topic);
|
||||
EventHandlers_FireEvent(CMD_EVENT_ON_DISCOVERY, 0);
|
||||
|
||||
#if ENABLE_ADVANCED_CHANNELTYPES_DISCOVERY
|
||||
// try to pair toggles with dimmers. This is needed only for TuyaMCU,
|
||||
|
||||
Reference in New Issue
Block a user