refactor commands to its own class, implement rest API #506

This commit is contained in:
proddy
2020-09-18 18:13:09 +02:00
parent 0d66d97fd2
commit 80ec1859e4
27 changed files with 1049 additions and 482 deletions

View File

@@ -37,6 +37,7 @@
#include "EMSESPStatusService.h"
#include "EMSESPDevicesService.h"
#include "EMSESPSettingsService.h"
#include "EMSESPAPIService.h"
#include "emsdevice.h"
#include "emsfactory.h"
@@ -47,6 +48,7 @@
#include "console.h"
#include "shower.h"
#include "roomcontrol.h"
#include "command.h"
#define WATCH_ID_NONE 0 // no watch id set
@@ -162,6 +164,7 @@ class EMSESP {
static EMSESPSettingsService emsespSettingsService;
static EMSESPStatusService emsespStatusService;
static EMSESPDevicesService emsespDevicesService;
static EMSESPAPIService emsespAPIService;
static uuid::log::Logger logger() {
return logger_;