add: mqtt status client

This commit is contained in:
Tobias Reisinger 2020-06-26 01:28:00 +02:00
parent 1d1ae61310
commit 679175f1a9
11 changed files with 119 additions and 40 deletions
include/models

View file

@ -12,6 +12,7 @@ typedef struct
{
uint8_t number;
int is_on;
int sent_to_broker;
char name[MAX_NAME_LENGTH + 1];
schedule_t *schedules[7];
} relay_t;