mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
refactor commands to take dynamic translation descriptions #674
This commit is contained in:
@@ -495,8 +495,7 @@ void EMSdevice::add_device_value(uint8_t tag,
|
||||
}
|
||||
|
||||
// add the command to our library
|
||||
// cmd is the short_name and the description is the fullname (not the custom fullname)
|
||||
Command::add(device_type_, short_name, f, Helpers::translated_fullname(fullname), flags);
|
||||
Command::add(device_type_, short_name, f, fullname, flags);
|
||||
}
|
||||
|
||||
// single list of options
|
||||
|
||||
Reference in New Issue
Block a user