added some comments

This commit is contained in:
proddy
2024-10-08 22:54:24 +02:00
parent f94ac6b067
commit dbaefe4d50
2 changed files with 19 additions and 16 deletions

View File

@@ -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) {