-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
1,442 additions
and
393 deletions.
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,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: ❔ First time connecting Tuya with Homey | ||
url: https://support.homey.app/hc/en-us/articles/14504423087644-Connecting-Tuya-with-Homey | ||
about: Please make sure to check our help document to help get your first device connected with Homey! |
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,30 @@ | ||
name: Validate | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
lint: | ||
name: Validate app | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Install dependencies | ||
run: npm ci --ignore-scripts --audit=false | ||
|
||
- name: Install Homey CLI | ||
run: npm -g install homey | ||
|
||
- name: App needs to pass verified level validation | ||
run: homey app validate --level=verified | ||
|
||
- name: app.json file needs to be up to date with repository | ||
run: git diff --exit-code app.json |
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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 @@ | ||
{ | ||
"title": { | ||
"en": "Trigger Tuya Scene" | ||
}, | ||
"titleFormatted": { | ||
"en": "Trigger [[scene]]" | ||
}, | ||
"args": [ | ||
{ | ||
"name": "scene", | ||
"type": "autocomplete", | ||
"title": { | ||
"en": "Tuya Scene" | ||
} | ||
} | ||
] | ||
} |
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,38 @@ | ||
{ | ||
"title": { | ||
"en": "Receive a Tuya Status (Boolean)" | ||
}, | ||
"titleFormatted": { | ||
"en": "Status [[code]] gets a new Boolean value" | ||
}, | ||
"hint": { | ||
"en": "This is an advanced Flow card, that can be used to receive any status from a Tuya device. You can find the status codes in the Tuya API documentation at https://homey.link/tuya-docs." | ||
}, | ||
"args": [ | ||
{ | ||
"name": "device", | ||
"type": "device", | ||
"filter": { | ||
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket" | ||
}, | ||
"title": { | ||
"en": "Device" | ||
} | ||
}, | ||
{ | ||
"name": "code", | ||
"type": "autocomplete", | ||
"title": { | ||
"en": "Code" | ||
} | ||
} | ||
], | ||
"tokens": [ | ||
{ | ||
"name": "value", | ||
"type": "boolean", | ||
"title": { "en": "Value" }, | ||
"example": 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,38 @@ | ||
{ | ||
"title": { | ||
"en": "Receive a Tuya Status (JSON)" | ||
}, | ||
"titleFormatted": { | ||
"en": "Status [[code]] gets a new JSON value" | ||
}, | ||
"hint": { | ||
"en": "This is an advanced Flow card, that can be used to receive any status from a Tuya device. You can find the status codes in the Tuya API documentation at https://homey.link/tuya-docs." | ||
}, | ||
"args": [ | ||
{ | ||
"name": "device", | ||
"type": "device", | ||
"filter": { | ||
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket" | ||
}, | ||
"title": { | ||
"en": "Device" | ||
} | ||
}, | ||
{ | ||
"name": "code", | ||
"type": "autocomplete", | ||
"title": { | ||
"en": "Code" | ||
} | ||
} | ||
], | ||
"tokens": [ | ||
{ | ||
"name": "value", | ||
"type": "string", | ||
"title": { "en": "Value" }, | ||
"example": "[{\"enabled\": 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,38 @@ | ||
{ | ||
"title": { | ||
"en": "Receive a Tuya Status (Number)" | ||
}, | ||
"titleFormatted": { | ||
"en": "Status [[code]] gets a new Number value" | ||
}, | ||
"hint": { | ||
"en": "This is an advanced Flow card, that can be used to receive any status from a Tuya device. You can find the status codes in the Tuya API documentation at https://homey.link/tuya-docs." | ||
}, | ||
"args": [ | ||
{ | ||
"name": "device", | ||
"type": "device", | ||
"filter": { | ||
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket" | ||
}, | ||
"title": { | ||
"en": "Device" | ||
} | ||
}, | ||
{ | ||
"name": "code", | ||
"type": "autocomplete", | ||
"title": { | ||
"en": "Code" | ||
} | ||
} | ||
], | ||
"tokens": [ | ||
{ | ||
"name": "value", | ||
"type": "number", | ||
"title": { "en": "Value" }, | ||
"example": 5.6 | ||
} | ||
] | ||
} |
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,38 @@ | ||
{ | ||
"title": { | ||
"en": "Receive a Tuya Status (String)" | ||
}, | ||
"titleFormatted": { | ||
"en": "Status [[code]] gets a new String value" | ||
}, | ||
"hint": { | ||
"en": "This is an advanced Flow card, that can be used to receive any status from a Tuya device. You can find the status codes in the Tuya API documentation at https://homey.link/tuya-docs." | ||
}, | ||
"args": [ | ||
{ | ||
"name": "device", | ||
"type": "device", | ||
"filter": { | ||
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket" | ||
}, | ||
"title": { | ||
"en": "Device" | ||
} | ||
}, | ||
{ | ||
"name": "code", | ||
"type": "autocomplete", | ||
"title": { | ||
"en": "Code" | ||
} | ||
} | ||
], | ||
"tokens": [ | ||
{ | ||
"name": "value", | ||
"type": "string", | ||
"title": { "en": "Value" }, | ||
"example": "color" | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -1,4 +1,9 @@ | ||
{ | ||
"device_offline": "The device seems to be offline. Is it powered on, and connected to the internet?", | ||
"switch": "Switch __number__" | ||
"switch": "Switch __number__", | ||
"settings_unsupported": "Some of the changed settings are not supported by the device:", | ||
"setting_values_unsupported": "Some of the changed values are not supported by the device:", | ||
"setting_unsupported": "__label__ is not supported by the device", | ||
"setting_value_unsupported": "Value is not supported for __label__ by the device", | ||
"error_retrieving_scenes": "Could not retrieve Tuya scenes." | ||
} |
Oops, something went wrong.