name: General
description: General issue report or feature request.
body:
  - type: markdown
    attributes:
      value: |
        > [!NOTE]
        > * Update plugin to the newest version, perhaps the problem has already been solved.
        > * Check plugin homepage (readme).
        > * Avoid duplicating any existing Issue regarding the same problem / request, check existing first (opened and closed).
        > * Aim to find a descriptive and precise title for your report.
  - type: textarea
    id: description
    attributes:
      label: Description
      description: |
        Provide a clear and concise description. Be sure to include:
        * What is happening?
        * What you expect to happen?
        * Clear steps explaining how to reproduce the problem.
    validations:
      required: true
  - type: textarea
    id: logs
    attributes:
      label: Logs
      render: code
      description: |
        If relevant to your report, include your logs.
        * You can enable more logs, set all logs in plugin config and debug mode in Homebridge settings.
        * Keep this short. Do not paste in hundreds of lines repeating the same error.
        * Show the logs from the service being restarted until the error occurs.
        * Remove any sensitive data (like login details).
    validations:
      required: false
  - type: textarea
    id: json
    attributes:
      label: Plugin config
      render: JSON
      description: |
        If relevant to your report, include your plugin config. 
        * Be sure to remove any sensitive information (passwords, tokens, etc.).
    validations:
      required: false
  - type: input
    id: plugin-version
    attributes:
      label: Plugin version
      description: |
        E.G.: 2.0.1
    validations:
      required: true
  - type: input
    id: fibaro-version
    attributes:
      label: Fibaro HC / Yubii Home type and firmware
      description: |
        E.G.: Fibaro Home Center 3 Lite, v5.160.42
    validations:
      required: false
