show entity count in device list, remove type

This commit is contained in:
Proddy
2023-10-17 22:55:47 +02:00
parent f9a176e09c
commit a1bb49359f
6 changed files with 31 additions and 18 deletions

View File

@@ -243,7 +243,7 @@ bool DeviceValue::hasValue() const {
has_value = Helpers::hasValue(*(uint32_t *)(value_p));
break;
case DeviceValueType::CMD:
has_value = false; // commands don't have values!
has_value = true; // we count command as an actual entity
break;
default:
break;