fix for #828 - show thermostat hc1 and mixer wwc

This commit is contained in:
Proddy
2022-12-28 22:18:43 +01:00
parent d41e634611
commit 1f1422bedd
4 changed files with 18 additions and 2 deletions

View File

@@ -1067,6 +1067,10 @@ void EMSdevice::getCustomEntities(std::vector<std::string> & entity_ids) {
// device name,device type,product_id,shortname,fullname,type [(enum values) | (min/max)],uom,writeable,discovery_entityid
void EMSdevice::dump_value_info() {
for (auto & dv : devicevalues_) {
if (dv.fullname == nullptr) {
break; // ignore entities that don't have a fullname, like the thermostat climate thingy
}
Serial.print(name_);
Serial.print(',');
Serial.print(device_type_name().c_str());