From 9b4237fb26dd5ab52e00a89d72628a406ec728a7 Mon Sep 17 00:00:00 2001 From: Glenn Waters Date: Sun, 22 Oct 2023 10:27:36 -0400 Subject: [PATCH] Add ElkM1 debugging section to docs (#29087) Co-authored-by: Franck Nijhof --- source/_integrations/elkm1.markdown | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source/_integrations/elkm1.markdown b/source/_integrations/elkm1.markdown index e79d056069a..77eeffa6292 100644 --- a/source/_integrations/elkm1.markdown +++ b/source/_integrations/elkm1.markdown @@ -553,3 +553,18 @@ Speak a word. The list of words is defined in the ElkM1 ASCII Protocol documenta | ---------------------- | -------- | ----------- | | `word` | no | Word to speak. | `prefix` | yes | Prefix to identify panel when multiple panels configured. + +## Debugging +Debug logs are often required to solve an issue. Follow the instructions on [Enabling debug logging](/docs/configuration/troubleshooting/#enabling-debug-logging). + +Sometimes, for example, a problem can occur while starting Home Assistant. In this case, follow these instructions. +Add the following to your `configuration.yaml` file in your Home Assistant `config` directory: + +```yaml +logger: + logs: + elkm1_lib: debug + homeassistant.components.elkm1: debug +``` + +After updating your configuration file, restart Home Assistant. The debug logs will be in the file `homeassistant.log` in the `config` directory.