remove TODO

This commit is contained in:
proddy
2024-07-24 17:59:32 +02:00
parent 05ff54e5e5
commit d92f17c774
2 changed files with 0 additions and 3 deletions

View File

@@ -635,8 +635,6 @@ bool Command::device_has_commands(const uint8_t device_type) {
for (const auto & emsdevice : EMSESP::emsdevices) {
if (emsdevice && (emsdevice->device_type() == device_type)) {
// TODO will this work for info, values etc??
// device found, now see if it has any commands
for (const auto & cf : cmdfunctions_) {
if (cf.device_type_ == device_type) {
return true;

View File

@@ -278,7 +278,6 @@ bool WebCustomEntityService::get_value_info(JsonObject output, const char * cmd)
}
// if it's info or values...
// TODO make a function
if (strlen(cmd) == 0 || Helpers::toLower(cmd) == F_(values) || Helpers::toLower(cmd) == F_(info)) {
// list all names
for (const CustomEntityItem & entity : *customEntityItems_) {