diff --git a/.github/config.yml b/.github/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/feature.yml b/.github/feature.yml new file mode 100644 index 0000000..e1678d0 --- /dev/null +++ b/.github/feature.yml @@ -0,0 +1,29 @@ +name: Feature request +description: Make a request for a new feature in the Strømligning integration +title: "[FR]: " +labels: ["feature request"] +body: + - type: markdown + attributes: + value: | + This form is only for requesting new features to the integration. + + Remember to add a descriptive title after the predefined text. + - type: textarea + validations: + required: true + attributes: + label: Describe the feature you wish to make a request for + description: >- + Provide a clear and concise description of what you wish for. + The more precise and detailed the more likely it is to be accepted and made. + - type: textarea + attributes: + label: Describe alternatives you've considered + description: >- + Have you considered any alternatives (ie. other existing integrations that can handle this) + - type: textarea + attributes: + label: Additional context + description: >- + Add any other context or screenshots about the feature request here. diff --git a/.github/issue.yml b/.github/issue.yml new file mode 100644 index 0000000..3afcc92 --- /dev/null +++ b/.github/issue.yml @@ -0,0 +1,76 @@ +name: Report a bug / issue +description: Report an issue with the Strømligning integration +labels: ["bug"] +assignees: + - PTST +body: + - type: markdown + attributes: + value: | + This issue form is for reporting bugs only! + - type: textarea + validations: + required: true + attributes: + label: Describe the issue + description: >- + Describe the issue you are experiencing here. + Describe what you were trying to do and what happened. + + Provide a clear and concise description of what the problem is. + - type: textarea + validations: + required: true + attributes: + label: Municipality / library + description: >- + Name of your municipality / library + - type: markdown + attributes: + value: | + ## Environment + - type: input + id: version + validations: + required: true + attributes: + label: What version of Home Assistant Core has the issue? + placeholder: core- + description: > + Can be found in: [Settings ⇒ System ⇒ Repairs ⇒ Three Dots in Upper Right ⇒ System information](https://my.home-assistant.io/redirect/system_health/). + + [![Open your Home Assistant instance and show the system information.](https://my.home-assistant.io/badges/system_health.svg)](https://my.home-assistant.io/redirect/system_health/) + - type: input + attributes: + label: What was the last working version of Home Assistant Core? + placeholder: core- + description: > + If known, otherwise leave blank. + - type: dropdown + validations: + required: true + attributes: + label: What type of installation are you running? + description: > + Can be found in: [Settings ⇒ System ⇒ Repairs ⇒ Three Dots in Upper Right ⇒ System information](https://my.home-assistant.io/redirect/system_health/). + + [![Open your Home Assistant instance and show the system information.](https://my.home-assistant.io/badges/system_health.svg)](https://my.home-assistant.io/redirect/system_health/) + options: + - Home Assistant OS + - Home Assistant Container + - Home Assistant Supervised + - Home Assistant Core + - type: markdown + attributes: + value: | + # Details + - type: textarea + attributes: + label: Anything in the logs that might be useful for us? + description: For example, error message, or stack traces. + render: txt + - type: textarea + attributes: + label: Additional information + description: > + If you have any additional information for us, use the field below.