-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
56 changed files
with
17,700 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended" // uses the recommended rules from the @typescript-eslint/eslint-plugin | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": 2021, | ||
"sourceType": "module" | ||
}, | ||
"ignorePatterns": ["dist", "server"], | ||
"rules": { | ||
"quotes": ["warn", "single"], | ||
"indent": [ | ||
"warn", | ||
2, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"linebreak-style": ["warn", "unix"], | ||
"semi": ["warn", "always"], | ||
"comma-dangle": ["warn", "always-multiline"], | ||
"dot-notation": "off", | ||
"eqeqeq": "warn", | ||
"curly": ["warn", "all"], | ||
"brace-style": ["warn"], | ||
"prefer-arrow-callback": ["warn"], | ||
"max-len": ["warn", 150], | ||
"no-console": ["warn"], // use the provided Homebridge log method instead | ||
"no-non-null-assertion": ["off"], | ||
"comma-spacing": ["error"], | ||
"no-multi-spaces": [ | ||
"warn", | ||
{ | ||
"ignoreEOLComments": true | ||
} | ||
], | ||
"no-trailing-spaces": ["warn"], | ||
"lines-between-class-members": [ | ||
"warn", | ||
"always", | ||
{ | ||
"exceptAfterSingleLine": true | ||
} | ||
], | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"@typescript-eslint/no-explicit-any": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# These are supported funding model platforms | ||
|
||
github: donavanbecker | ||
custom: paypal.me/DonavanBecker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
name: Bug Report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- You must use the issue template below when submitting a bug --> | ||
|
||
**Describe The Bug:** | ||
<!-- A clear and concise description of what the bug is. --> | ||
|
||
**To Reproduce:** | ||
<!-- Steps to reproduce the behavior. --> | ||
|
||
**Expected behavior:** | ||
<!-- A clear and concise description of what you expected to happen. --> | ||
|
||
**Logs:** | ||
<!-- Bug reports that do not contain logs may be closed without warning. --> | ||
|
||
``` | ||
Show the Homebridge / Homebridge Config UI X logs here. | ||
``` | ||
|
||
**Homebridge Config:** | ||
|
||
```json | ||
Show your homebridge config.json here | ||
``` | ||
|
||
**Screenshots:** | ||
<!-- If applicable, add screenshots to help explain your problem. --> | ||
|
||
**Environment:** | ||
|
||
* **Node.js Version**: <!-- node -v --> | ||
* **NPM Version**: <!-- npm -v --> | ||
* **Homebridge Version**: <!-- homebridge -V --> | ||
* **Homebridge SmartHQ Plugin Version**: | ||
* **Homebridge Config UI X Version**: | ||
* **Operating System**: Raspbian / Ubuntu / Debian / Windows / macOS / Docker | ||
* **Process Supervisor**: Docker / Systemd / init.d / pm2 / launchctl / hb-service / other / none | ||
|
||
|
||
<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
name: Bug-Report | ||
description: Report a Bug to help us improve | ||
title: "Bug:" | ||
labels: [bug] | ||
assignees: 'donavanbecker' | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
You must use the issue template below when submitting a bug. | ||
- type: input | ||
attributes: | ||
label: Describe The Bug | ||
placeholder: A clear and concise description of what the bug is. | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: To Reproduce | ||
placeholder: Steps to reproduce the behavior. | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Expected behavior | ||
placeholder: A clear and concise description of what you expected to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: Logs | ||
attributes: | ||
label: Relevant log output | ||
placeholder: Bug reports that do not contain logs may be closed without warning. Show the Homebridge logs here. If using Homebridge Config-UI-X, you can easly download your log by visiting the log page on the UI and Clicking the Download Icon in the top right. Remove any sensitive information, such as your @homebridge-plugins/homebridge-smarthq api key. Please Turn on Debug Mode before submitting your Issue so more logs can be shared to fix the issue being submitted. | ||
render: shell | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: Config | ||
attributes: | ||
label: Config for @homebridge-plugins/homebridge-smarthq | ||
placeholder: Paste your homebridge config.json here. Remove any sensitive information, such as your @homebridge-plugins/homebridge-smarthq api key. | ||
render: shell | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Screenshots | ||
description: If applicable add screenshots to help explain your problem. | ||
placeholder: You can attach images or log files by clicking this area to highlight it and then dragging files in. | ||
validations: | ||
required: false | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Environment | ||
- type: input | ||
attributes: | ||
label: Node.js Version | ||
placeholder: v14.17.6 | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: NPM Version | ||
placeholder: v7.22.0 | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Homebridge Version | ||
placeholder: If applicable, add screenshots to help explain your problem. | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Homebridge SmartHQ Plugin Version | ||
placeholder: v1.1.0 | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Homebridge Config UI X Plugin Version | ||
placeholder: v4.41.2 | ||
validations: | ||
required: false | ||
- type: input | ||
attributes: | ||
label: Operating System | ||
placeholder: Raspbian / Ubuntu / Debian / Windows / macOS / Docker | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Homebridge Discord Channel for SmartHQ | ||
url: https://discord.gg/8fpZA4S | ||
about: Please ask and answer questions here. | ||
- name: Homebridge-air - Pull Requests | ||
url: https://github.com/homebridge-plugins/homebridge-smarthq/pulls | ||
about: Please report security vulnerabilities here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Feature Request | ||
description: Suggest an idea for this project | ||
title: "Feature Request: " | ||
labels: [enhancement] | ||
assignees: 'donavanbecker' | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Is your feature request related to a problem? Please describe. | ||
- type: input | ||
attributes: | ||
label: Problem | ||
placeholder: A clear and concise description of what the problem is. Ex. I am always frustrated when [...] | ||
validations: | ||
required: false | ||
- type: input | ||
attributes: | ||
label: Solution | ||
placeholder: A clear and concise description of what you want to happen. | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Alternatives | ||
placeholder: A clear and concise description of any alternative solutions or features you have considered. | ||
validations: | ||
required: false | ||
- type: input | ||
attributes: | ||
label: Additional context | ||
placeholder: Add any other context or screenshots about the feature request here. Post devicediscovery logs here. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
name: Support Request | ||
description: Need help? | ||
title: "Support Request:" | ||
labels: [question] | ||
assignees: 'donavanbecker' | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
You must use the issue template below when submitting a support request. | ||
- type: input | ||
attributes: | ||
label: Describe Your Problem | ||
placeholder: A clear and concise description of what problem you are trying to solve. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: Logs | ||
attributes: | ||
label: Relevant log output | ||
placeholder: Bug reports that do not contain logs may be closed without warning. Show the Homebridge logs here. If using Homebridge Config-UI-X, you can easly download your log by visiting the log page on the UI and Clicking the Download Icon in the top right. Remove any sensitive information, such as your @homebridge-plugins/homebridge-smarthq apikey and zipCode. Please Turn on Debug Mode before submitting your Issue so more logs can be shared to fix the issue being submitted. | ||
render: shell | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: Config | ||
attributes: | ||
label: Config for @homebridge-plugins/homebridge-smarthq | ||
placeholder: Paste your homebridge config.json here. Remove any sensitive information, such as your @homebridge-plugins/homebridge-smarthq apikey and zipCode. | ||
render: shell | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Screenshots | ||
description: If applicable add screenshots to help explain your problem. | ||
placeholder: You can attach images or log files by clicking this area to highlight it and then dragging files in. | ||
validations: | ||
required: false | ||
- type: input | ||
attributes: | ||
label: Device & Model | ||
placeholder: If applicable, add screenshots to help explain your problem. | ||
validations: | ||
required: true | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Environment | ||
- type: input | ||
attributes: | ||
label: Node.js Version | ||
placeholder: v14.17.6 | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: NPM Version | ||
placeholder: v7.22.0 | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Homebridge Version | ||
placeholder: If applicable, add screenshots to help explain your problem. | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Homebridge SmartHQ Plugin Version | ||
placeholder: v1.1.0 | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Homebridge Config UI X Plugin Version | ||
placeholder: v4.41.2 | ||
validations: | ||
required: false | ||
- type: input | ||
attributes: | ||
label: Operating System | ||
placeholder: Raspbian / Ubuntu / Debian / Windows / macOS / Docker | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
name: Enhancement | ||
about: Contribute to Plugin through Pull Request | ||
title: '' | ||
labels: 'enhancement' | ||
assignees: 'donavanbecker' | ||
--- | ||
|
||
**Is your enhancement 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 are addding** | ||
|
||
<!-- A clear and concise description of what you want to happen. --> | ||
|
||
**Changes Proposed in this Pull Request** | ||
|
||
<!-- A clear and concise description of what is being changed. --> | ||
|
||
**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. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: 'npm' # See documentation for possible values | ||
directory: '/' # Location of package manifests | ||
target-branch: 'beta-*.*.*' | ||
schedule: | ||
interval: 'daily' | ||
- package-ecosystem: 'github-actions' # See documentation for possible values | ||
directory: '/' # Location of package manifests | ||
target-branch: 'beta-*.*.*' | ||
schedule: | ||
interval: 'daily' |
Oops, something went wrong.