From de08b32d5b46e2e07931bbdfc7a99bee12dc8160 Mon Sep 17 00:00:00 2001 From: "firstof9@gmail.com" Date: Fri, 29 May 2026 14:54:47 -0700 Subject: [PATCH] chore: update issue templates to YAML forms --- .github/ISSUE_TEMPLATE/bug_report.md | 30 ------ .github/ISSUE_TEMPLATE/bug_report.yml | 101 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 22 ----- .github/ISSUE_TEMPLATE/feature_request.yml | 40 ++++++++ 4 files changed, 141 insertions(+), 52 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 954236e3..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: "ISSUE: " -labels: "pending" -assignees: "" ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**Environment (please complete the following information):** - -- OS: [e.g. HassOS/Raspbian/CentOS] -- Type of system that HA is running on: [e.g. RPi3/NUC/Synology] -- Home Assistant version: [e.g. 0.105.5] -- Hassio/Docker/Core? -- Component version: [e.g. 0.1.2] -- Z-Wave integration name: [e.g. zwave_js] -- Lock make and model: [e.g. Schlage BE469] - -**Logs** -Paste your error logs here. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Additional context** -Add any other context about the problem here. -Please add emails in plain/text format if possible and applicable. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..0e2d6d9d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,101 @@ +name: Bug report +description: Create a report to help us improve +title: "ISSUE: " +labels: ["pending"] +body: + - type: textarea + id: description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + validations: + required: true + + - type: input + id: ha-version + attributes: + label: Home Assistant version + placeholder: "e.g. 2026.5.0" + validations: + required: true + + - type: input + id: component-version + attributes: + label: Keymaster version + placeholder: "e.g. v0.3.4" + validations: + required: true + + - type: dropdown + id: install-method + attributes: + label: Home Assistant installation type + options: + - Home Assistant OS + - Home Assistant Container (Docker) + - Home Assistant Core + - Home Assistant Supervised + validations: + required: false + + - type: dropdown + id: lock-provider + attributes: + label: Lock provider + description: "The integration provider configured for your lock" + options: + - local_akuvox + - schlage + - zwave_js + validations: + required: true + + - type: input + id: lock-model + attributes: + label: Lock make and model + placeholder: "e.g. Schlage BE469" + validations: + required: false + + - type: textarea + id: steps + attributes: + label: Steps to reproduce + description: Tell us how to reproduce this issue. + placeholder: | + 1. Go to '...' + 2. Click on '...' + 3. See error + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + validations: + required: true + + - type: textarea + id: logs + attributes: + label: Logs + description: Paste any relevant error logs here. + render: text + + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your problem. + + - type: textarea + id: additional + attributes: + label: Additional context + description: >- + Add any other context about the problem here (e.g. email in plain/text format + if applicable). diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 14643c60..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: "[Feature Request] " -labels: '' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always -frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've -considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..f3a73fa3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,40 @@ +name: Feature request +description: Suggest an idea for this project +title: "[Feature Request] " +labels: [] +body: + - type: textarea + id: problem + attributes: + label: Is your feature request related to a problem? Please describe. + description: >- + A clear and concise description of what the problem is. E.g., I'm always + frustrated when [...] + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Describe the solution you'd like + description: A clear and concise description of what you want to happen. + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Describe alternatives you've considered + description: >- + A clear and concise description of any alternative solutions or features + you've considered. + validations: + required: false + + - type: textarea + id: additional + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. + validations: + required: false