fixes Excluding entities from the Customization page does not remove the MQTT Discovery entry #357

This commit is contained in:
proddy
2022-02-13 21:44:02 +01:00
parent 17bc9c231a
commit 7214b5beea
8 changed files with 92 additions and 35 deletions

View File

@@ -171,13 +171,6 @@ bool DeviceValue::hasValue() {
break;
}
#if defined(EMSESP_DEBUG)
// https://github.com/emsesp/EMS-ESP32/issues/196
// if (has_state(DeviceValueState::DV_ACTIVE) && !has_value) {
// emsesp::EMSESP::logger().warning(F("[DEBUG] Lost device value %s"), short_name);
// }
#endif
return has_value;
}