-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1869 from SmartThingsCommunity/main
Rollup main to beta
- Loading branch information
Showing
31 changed files
with
1,480 additions
and
221 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,93 @@ | ||
name: lock-unlatch | ||
components: | ||
- label: Main | ||
id: main | ||
capabilities: | ||
- id: lock | ||
version: 1 | ||
config: | ||
values: | ||
- key: "lock.value" | ||
enabledValues: | ||
- locked | ||
- unlocked | ||
- unlatched | ||
- not fully locked | ||
- id: lockAlarm | ||
version: 1 | ||
- id: remoteControlStatus | ||
version: 1 | ||
- id: firmwareUpdate | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
categories: | ||
- name: SmartLock | ||
deviceConfig: | ||
dashboard: | ||
states: | ||
- component: main | ||
capability: lock | ||
version: 1 | ||
actions: | ||
- component: main | ||
capability: lock | ||
version: 1 | ||
detailView: | ||
- component: main | ||
capability: lock | ||
version: 1 | ||
values: | ||
- key: lock.value | ||
alternatives: | ||
- key: locked | ||
type: inactive | ||
value: '{{i18n.attributes.lock.i18n.value.locked.label}}' | ||
- key: unlocked | ||
value: '{{i18n.attributes.lock.i18n.value.unlocked.label}}' | ||
- key: unlatched | ||
value: '{{i18n.attributes.lock.i18n.value.unlatched.label}}' | ||
- key: not fully locked | ||
value: '{{i18n.attributes.lock.i18n.value.not fully locked.label}}' | ||
patch: | ||
- op: add | ||
path: /1 | ||
value: | ||
capability: lock | ||
version: 1 | ||
component: main | ||
label: '{{i18n.commands.unlatch.label}}' | ||
displayType: pushButton | ||
pushButton: | ||
command: unlatch | ||
automation: | ||
conditions: | ||
- component: main | ||
capability: lock | ||
version: 1 | ||
values: | ||
- key: lock.value | ||
alternatives: | ||
- key: locked | ||
type: inactive | ||
value: '{{i18n.attributes.lock.i18n.value.locked.label}}' | ||
- key: unlocked | ||
value: '{{i18n.attributes.lock.i18n.value.unlocked.label}}' | ||
- key: unlatched | ||
value: '{{i18n.attributes.lock.i18n.value.unlatched.label}}' | ||
- key: not fully locked | ||
value: '{{i18n.attributes.lock.i18n.value.not fully locked.label}}' | ||
actions: | ||
- component: main | ||
capability: lock | ||
version: 1 | ||
values: | ||
- key: '{{enumCommands}}' | ||
alternatives: | ||
- key: lock | ||
type: inactive | ||
value: '{{i18n.commands.lock.label}}' | ||
- key: unlock | ||
value: '{{i18n.commands.unlock.label}}' | ||
- key: unlatch | ||
value: '{{i18n.commands.unlatch.label}}' |
29 changes: 29 additions & 0 deletions
29
drivers/SmartThings/matter-lock/profiles/lock-user-pin-battery.yml
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,29 @@ | ||
name: lock-user-pin-battery | ||
components: | ||
- id: main | ||
capabilities: | ||
- id: lock | ||
version: 1 | ||
config: | ||
values: | ||
- key: "lock.value" | ||
enabledValues: | ||
- locked | ||
- unlocked | ||
- not fully locked | ||
- id: lockAlarm | ||
version: 1 | ||
- id: remoteControlStatus | ||
version: 1 | ||
- id: lockUsers | ||
version: 1 | ||
- id: lockCredentials | ||
version: 1 | ||
- id: battery | ||
version: 1 | ||
- id: firmwareUpdate | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
categories: | ||
- name: SmartLock |
29 changes: 29 additions & 0 deletions
29
drivers/SmartThings/matter-lock/profiles/lock-user-pin-batteryLevel.yml
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,29 @@ | ||
name: lock-user-pin-batteryLevel | ||
components: | ||
- id: main | ||
capabilities: | ||
- id: lock | ||
version: 1 | ||
config: | ||
values: | ||
- key: "lock.value" | ||
enabledValues: | ||
- locked | ||
- unlocked | ||
- not fully locked | ||
- id: lockAlarm | ||
version: 1 | ||
- id: remoteControlStatus | ||
version: 1 | ||
- id: lockUsers | ||
version: 1 | ||
- id: lockCredentials | ||
version: 1 | ||
- id: batteryLevel | ||
version: 1 | ||
- id: firmwareUpdate | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
categories: | ||
- name: SmartLock |
31 changes: 31 additions & 0 deletions
31
drivers/SmartThings/matter-lock/profiles/lock-user-pin-schedule-battery.yml
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,31 @@ | ||
name: lock-user-pin-schedule-battery | ||
components: | ||
- id: main | ||
capabilities: | ||
- id: lock | ||
version: 1 | ||
config: | ||
values: | ||
- key: "lock.value" | ||
enabledValues: | ||
- locked | ||
- unlocked | ||
- not fully locked | ||
- id: lockAlarm | ||
version: 1 | ||
- id: remoteControlStatus | ||
version: 1 | ||
- id: lockUsers | ||
version: 1 | ||
- id: lockCredentials | ||
version: 1 | ||
- id: lockSchedules | ||
version: 1 | ||
- id: battery | ||
version: 1 | ||
- id: firmwareUpdate | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
categories: | ||
- name: SmartLock |
31 changes: 31 additions & 0 deletions
31
drivers/SmartThings/matter-lock/profiles/lock-user-pin-schedule-batteryLevel.yml
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,31 @@ | ||
name: lock-user-pin-schedule-batteryLevel | ||
components: | ||
- id: main | ||
capabilities: | ||
- id: lock | ||
version: 1 | ||
config: | ||
values: | ||
- key: "lock.value" | ||
enabledValues: | ||
- locked | ||
- unlocked | ||
- not fully locked | ||
- id: lockAlarm | ||
version: 1 | ||
- id: remoteControlStatus | ||
version: 1 | ||
- id: lockUsers | ||
version: 1 | ||
- id: lockCredentials | ||
version: 1 | ||
- id: lockSchedules | ||
version: 1 | ||
- id: batteryLevel | ||
version: 1 | ||
- id: firmwareUpdate | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
categories: | ||
- name: SmartLock |
99 changes: 99 additions & 0 deletions
99
drivers/SmartThings/matter-lock/profiles/lock-user-pin-schedule-unlatch.yml
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,99 @@ | ||
name: lock-user-pin-schedule-unlatch | ||
components: | ||
- label: Main | ||
id: main | ||
capabilities: | ||
- id: lock | ||
version: 1 | ||
config: | ||
values: | ||
- key: "lock.value" | ||
enabledValues: | ||
- locked | ||
- unlocked | ||
- unlatched | ||
- not fully locked | ||
- id: lockAlarm | ||
version: 1 | ||
- id: remoteControlStatus | ||
version: 1 | ||
- id: lockUsers | ||
version: 1 | ||
- id: lockCredentials | ||
version: 1 | ||
- id: lockSchedules | ||
version: 1 | ||
- id: firmwareUpdate | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
categories: | ||
- name: SmartLock | ||
deviceConfig: | ||
dashboard: | ||
states: | ||
- component: main | ||
capability: lock | ||
version: 1 | ||
actions: | ||
- component: main | ||
capability: lock | ||
version: 1 | ||
detailView: | ||
- component: main | ||
capability: lock | ||
version: 1 | ||
values: | ||
- key: lock.value | ||
alternatives: | ||
- key: locked | ||
type: inactive | ||
value: '{{i18n.attributes.lock.i18n.value.locked.label}}' | ||
- key: unlocked | ||
value: '{{i18n.attributes.lock.i18n.value.unlocked.label}}' | ||
- key: unlatched | ||
value: '{{i18n.attributes.lock.i18n.value.unlatched.label}}' | ||
- key: not fully locked | ||
value: '{{i18n.attributes.lock.i18n.value.not fully locked.label}}' | ||
patch: | ||
- op: add | ||
path: /1 | ||
value: | ||
capability: lock | ||
version: 1 | ||
component: main | ||
label: '{{i18n.commands.unlatch.label}}' | ||
displayType: pushButton | ||
pushButton: | ||
command: unlatch | ||
automation: | ||
conditions: | ||
- component: main | ||
capability: lock | ||
version: 1 | ||
values: | ||
- key: lock.value | ||
alternatives: | ||
- key: locked | ||
type: inactive | ||
value: '{{i18n.attributes.lock.i18n.value.locked.label}}' | ||
- key: unlocked | ||
value: '{{i18n.attributes.lock.i18n.value.unlocked.label}}' | ||
- key: unlatched | ||
value: '{{i18n.attributes.lock.i18n.value.unlatched.label}}' | ||
- key: not fully locked | ||
value: '{{i18n.attributes.lock.i18n.value.not fully locked.label}}' | ||
actions: | ||
- component: main | ||
capability: lock | ||
version: 1 | ||
values: | ||
- key: '{{enumCommands}}' | ||
alternatives: | ||
- key: lock | ||
type: inactive | ||
value: '{{i18n.commands.lock.label}}' | ||
- key: unlock | ||
value: '{{i18n.commands.unlock.label}}' | ||
- key: unlatch | ||
value: '{{i18n.commands.unlatch.label}}' |
Oops, something went wrong.