mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-15 12:26:33 +03:00
formatting
This commit is contained in:
@@ -347,8 +347,9 @@ std::string EMSdevice::to_string() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// returns string of EMS device version and productID
|
// returns string of EMS device version and productID
|
||||||
|
// this is used in the MQTT Discovery config
|
||||||
std::string EMSdevice::to_string_version() {
|
std::string EMSdevice::to_string_version() {
|
||||||
return "DeviceID:" + Helpers::hextoa(device_id_) + " ProductID:" + Helpers::itoa(product_id_) + " Version:" + version_;
|
return "DeviceID " + Helpers::hextoa(device_id_) + ", ProductID " + Helpers::itoa(product_id_) + ", Version " + version_;
|
||||||
}
|
}
|
||||||
|
|
||||||
// returns out brand + device name
|
// returns out brand + device name
|
||||||
|
|||||||
Reference in New Issue
Block a user