Added db logger functions. Chnaged to newest mqtt++ version.

This commit is contained in:
2020-11-17 10:08:34 +01:00
parent 0fff81be48
commit 2cb0fd1fed
14 changed files with 261 additions and 39 deletions

View File

@@ -25,11 +25,21 @@ int thrawn_create_topic_state(lua_State* lua);
int thrawn_topic_state_str(lua_State* lua);
int thrawn_topic_cache(lua_State* lua);
int thrawn_topic_components(lua_State* lua);
int thrawn_cached_topic(lua_State* lua);
// Function in LUA
void call_thrawn_on_start(LuaService& service);
void call_thrawn_on_update(LuaService& service, TopicState state);
//Database logging
int thrawn_log_light(lua_State* lua);
int thrawn_log_light_dimmable(lua_State* lua);
int thrawn_log_light_tw(lua_State* lua);
#endif // THRAWN_API_H