From 8a2d33b4c9a410700e09dad60732cc3a2d4ac5e8 Mon Sep 17 00:00:00 2001 From: Josh Willox Date: Thu, 11 Aug 2022 14:11:37 +1000 Subject: [PATCH] docs: improve bug template --- .github/ISSUE_TEMPLATE/bug_report.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 812ccd6..982d228 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,11 +1,12 @@ name: Report an issue with the Auto Backup integration description: Report an issue with the Auto Backup integration. -labels: ["bug"] body: - type: markdown attributes: value: | - This issue form is for reporting bugs. + This issue form is for reporting bugs, you should search through + the existing issues to see if others have had the same problem. + Try fill as many fields as you can, to make it easier to address the issue. - type: textarea attributes: @@ -30,8 +31,7 @@ body: - type: input id: ha_version attributes: - label: What version of Home Assistant Core are you running? - placeholder: core- + label: What version of Home Assistant are you running? description: > Can be found in: [Settings -> About](https://my.home-assistant.io/redirect/info/). @@ -57,12 +57,21 @@ body: label: Example YAML snippet description: | If applicable, please provide an example piece of YAML that can help reproduce this problem. - This can be from an automation, script, scene or configuration. + This can be from an automation, script, service or configuration. render: yml - type: textarea attributes: label: Anything in the logs that might be useful for us? - description: For example, error message, or stack traces. + description: | + For example, error message, or stack traces. + + If you would like to enable debug logs add the [logger](https://www.home-assistant.io/components/logger/) integration, then use the following service call. + + ```yaml + service: logger.set_level + data: + custom_components.auto_backup: debug + ``` render: python3 - type: textarea attributes: