mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
added some comments
This commit is contained in:
@@ -369,6 +369,7 @@ std::string DeviceValue::get_fullname() const {
|
||||
return customname;
|
||||
}
|
||||
|
||||
// returns any custom name defined in the entity_id
|
||||
std::string DeviceValue::get_name(const std::string & entity) {
|
||||
auto pos = entity.find('|');
|
||||
if (pos != std::string::npos) {
|
||||
|
||||
Reference in New Issue
Block a user