mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-11-01 06:12:12 +01:00
refactor: move socket events into SomfyEvents.cpp
The emitState and emitCommand events for rooms, shades, groups and the controller move out of Somfy.cpp unchanged. Also drop the log tag from SomfyMqtt.cpp, which never logs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
297c4d5dcd
commit
2771b91571
3 changed files with 99 additions and 93 deletions
|
|
@ -1,12 +1,9 @@
|
|||
#include "esp_log.h"
|
||||
#include "Utils.h"
|
||||
#include "ConfigSettings.h"
|
||||
#include "Somfy.h"
|
||||
#include "Sockets.h"
|
||||
#include "MQTT.h"
|
||||
|
||||
static const char *TAG = "Somfy";
|
||||
|
||||
extern SomfyShadeController somfy;
|
||||
extern SocketEmitter sockEmit;
|
||||
extern ConfigSettings settings;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue