diff --git a/src/ems.cpp b/src/ems.cpp index 2ce9cc647..79d94c9c5 100644 --- a/src/ems.cpp +++ b/src/ems.cpp @@ -1608,7 +1608,7 @@ void ems_clearDeviceList() { /* * add an EMS device to our list of detected devices - * model_type = 1=info=boiler, 2=success=thermostat, 3=warning=sm, 4=danger=other, 5=none=unknown + * model_type : 1=boiler, 2=thermostat, 3=sm, 4=other, 5=unknown */ void _addDevice(uint8_t model_type, uint8_t product_id, uint8_t device_id, char * version, const char * model_string) { _Generic_Device device; diff --git a/src/ems.h b/src/ems.h index 6c84cc4dd..c3e9384ca 100644 --- a/src/ems.h +++ b/src/ems.h @@ -251,7 +251,7 @@ typedef struct { // for consolidating all types typedef struct { - uint8_t model_type; // 1=info=boiler, 2=success=thermostat, 3=warning=sm, 4=danger=other, 5=none=unknown + uint8_t model_type; // 1=boiler, 2=thermostat, 3=sm, 4=other, 5=unknown uint8_t product_id; uint8_t device_id; char version[10];