From 38fffd4932ff35ba62f2932918dd09ce23bb85bb Mon Sep 17 00:00:00 2001 From: Proddy Date: Mon, 23 Jan 2023 23:20:44 +0100 Subject: [PATCH] add debug line to show we're using dummy entity values --- src/system.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/system.h b/src/system.h index 9078e0745..d6265d2f6 100644 --- a/src/system.h +++ b/src/system.h @@ -248,6 +248,11 @@ class System { return test_set_all_active_; } static void test_set_all_active(bool n) { +#if defined(EMSESP_DEBUG) + if (n) { + logger_.debug("Using dummy entity values"); + } +#endif test_set_all_active_ = n; }