From 5bedc044d6f2b3a64d7cd01ad41f900f7726df37 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Thu, 23 Dec 2021 20:24:06 +0100 Subject: [PATCH] Update issue templates --- .github/ISSUE_TEMPLATE.md | 46 ------------------- .github/ISSUE_TEMPLATE/new_device_support.md | 21 --------- .../ISSUE_TEMPLATE/new_device_support.yaml | 31 +++++++++++++ 3 files changed, 31 insertions(+), 67 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md delete mode 100644 .github/ISSUE_TEMPLATE/new_device_support.md create mode 100644 .github/ISSUE_TEMPLATE/new_device_support.yaml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index df14c9ea..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,46 +0,0 @@ - - - - -# Bug Report -## What happened - -## What did you expect to happen - -## How to reproduce it (minimal and precise) - -## Debug Info -Zigbee2MQTT version: -Adapter hardware: CC2531, CC2530, CC26X2R1 or CC1352P-2 -Adapter firmware version: diff --git a/.github/ISSUE_TEMPLATE/new_device_support.md b/.github/ISSUE_TEMPLATE/new_device_support.md deleted file mode 100644 index 9674ff04..00000000 --- a/.github/ISSUE_TEMPLATE/new_device_support.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: New device support request -about: Request support for a new device -title: '' -labels: new device support -assignees: '' - ---- - - - -## Information about the device + link -.. - -## data/database.db entry of the device -.. diff --git a/.github/ISSUE_TEMPLATE/new_device_support.yaml b/.github/ISSUE_TEMPLATE/new_device_support.yaml new file mode 100644 index 00000000..da2af3fa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/new_device_support.yaml @@ -0,0 +1,31 @@ +name: New device support request +description: Request support for a new device +title: "" +labels: [new device support] +body: + - type: markdown + attributes: + value: | + *IMPORTANT:* Before submitting: + - Make sure this device is not already supported in the [latest dev branch](https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html) + - Follow this [guide](https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html) + - type: input + id: link + attributes: + label: Link + description: Link of this device (product page) + validations: + required: true + - type: input + id: database + attributes: + label: Database entry + description: Entry of this device in `data/database.db` after pairing it + validations: + required: true + - type: textarea + id: notes + attributes: + label: Comments + placeholder: I tried to follow the supporting new device page but got stuck at... +