From a217b2553c61477e71c65efdd158e8d5cbb42c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20St=C3=A5hl?= Date: Tue, 20 Oct 2020 12:47:40 +0200 Subject: [PATCH] Add debug log instructions to readme --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index f8f268c..9280914 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,17 @@ Energy monitoring (voltage, current...) values can be obtained in two different unit_of_measurement: 'W' ``` +# Debugging + +Whenever you write a bug report, it helps tremendously if you include debug logs directly (otherwise we will just ask for them and it will take longer). So please enable debug logs like this and include them in your issue: + +```yaml +logger: + default: warning + logs: + custom_components.localtuya: debug +``` + # Notes: * Do not declare anything as "tuya", such as by initiating a "switch.tuya". Using "tuya" launches Home Assistant's built-in, cloud-based Tuya integration in lieu of localtuya.