diff --git a/.changeset/pre.json b/.changeset/pre.json index ff99b8149..c004ea64d 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -12,8 +12,10 @@ "bright-kings-sort", "calm-rats-battle", "chilly-chicken-taste", + "eight-apricots-lie", "eleven-mails-march", "fair-islands-prove", + "famous-actors-mix", "friendly-maps-learn", "giant-poems-reflect", "gorgeous-paws-rush", @@ -30,7 +32,9 @@ "quick-brooms-develop", "selfish-pears-joke", "short-cows-sing", + "short-guests-fry", "silent-pianos-mate", + "sixty-days-rhyme", "slow-gorillas-care", "smart-meals-hammer", "stale-boats-listen", diff --git a/package-lock.json b/package-lock.json index a530e0fc9..ef0dca2cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18737,14 +18737,14 @@ }, "packages/cli": { "name": "@smartthings/cli", - "version": "1.0.0-beta.12", + "version": "1.0.0-beta.13", "license": "Apache-2.0", "dependencies": { "@oclif/core": "^1.13.10", "@oclif/plugin-autocomplete": "^1.3.0", "@oclif/plugin-not-found": "^2.3.1", "@oclif/plugin-plugins": "^2.1.0", - "@smartthings/cli-lib": "^1.0.0-beta.12", + "@smartthings/cli-lib": "^1.0.0-beta.13", "@smartthings/core-sdk": "^5.1.1", "@smartthings/plugin-cli-edge": "^1.15.1", "aws-sdk": "^2.1175.0", @@ -18756,7 +18756,7 @@ "smartthings": "bin/run" }, "devDependencies": { - "@smartthings/cli-testlib": "^1.0.0-beta.7", + "@smartthings/cli-testlib": "^1.0.0-beta.8", "@types/inquirer": "^8.2.1", "@types/jest": "^28.1.5", "@types/js-yaml": "^4.0.5", @@ -18783,7 +18783,7 @@ }, "packages/lib": { "name": "@smartthings/cli-lib", - "version": "1.0.0-beta.12", + "version": "1.0.0-beta.13", "license": "Apache-2.0", "dependencies": { "@log4js-node/log4js-api": "^1.0.2", @@ -18849,10 +18849,10 @@ }, "packages/testlib": { "name": "@smartthings/cli-testlib", - "version": "1.0.0-beta.7", + "version": "1.0.0-beta.8", "license": "Apache-2.0", "dependencies": { - "@smartthings/cli-lib": "^1.0.0-beta.12", + "@smartthings/cli-lib": "^1.0.0-beta.13", "@smartthings/core-sdk": "^5.1.1" }, "devDependencies": { @@ -21912,8 +21912,8 @@ "@oclif/plugin-autocomplete": "^1.3.0", "@oclif/plugin-not-found": "^2.3.1", "@oclif/plugin-plugins": "^2.1.0", - "@smartthings/cli-lib": "^1.0.0-beta.12", - "@smartthings/cli-testlib": "^1.0.0-beta.7", + "@smartthings/cli-lib": "^1.0.0-beta.13", + "@smartthings/cli-testlib": "^1.0.0-beta.8", "@smartthings/core-sdk": "^5.1.1", "@smartthings/plugin-cli-edge": "^1.15.1", "@types/inquirer": "^8.2.1", @@ -21997,7 +21997,7 @@ "@smartthings/cli-testlib": { "version": "file:packages/testlib", "requires": { - "@smartthings/cli-lib": "^1.0.0-beta.12", + "@smartthings/cli-lib": "^1.0.0-beta.13", "@smartthings/core-sdk": "^5.1.1", "@types/jest": "^28.1.5", "@types/js-yaml": "^4.0.5", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 5040900fc..064ca4451 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,20 @@ # Change Log +## 1.0.0-beta.13 + +### Patch Changes + +- [#374](https://github.com/SmartThingsCommunity/smartthings-cli/pull/374) [`aeb8b28`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/aeb8b2892ca4de80fd4335a7ed1e8af2ed5153c4) Thanks [@bflorian](https://github.com/bflorian)! - feat: added device and location history commands + +* [#369](https://github.com/SmartThingsCommunity/smartthings-cli/pull/369) [`d62c051`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/d62c0517d6947db55cd0c701e3c8ba194efaf201) Thanks [@bflorian](https://github.com/bflorian)! - feat: Refactored devices command and added health and status flags. + +- [#371](https://github.com/SmartThingsCommunity/smartthings-cli/pull/371) [`b2ea4c0`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/b2ea4c04c626e2991b9f6a400656ab764f700f93) Thanks [@rossiam](https://github.com/rossiam)! - include virtual device info in device output + +* [#375](https://github.com/SmartThingsCommunity/smartthings-cli/pull/375) [`3523e38`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/3523e38aa4b47f0a411b7969fb1771bbb7c50900) Thanks [@john-u](https://github.com/john-u)! - bump @smartthings/plugin-cli-edge to support newer oclif/core version + +* Updated dependencies [[`3523e38`](https://github.com/SmartThingsCommunity/smartthings-cli/commit/3523e38aa4b47f0a411b7969fb1771bbb7c50900)]: + - @smartthings/cli-lib@1.0.0-beta.13 + ## 1.0.0-beta.12 ### Patch Changes diff --git a/packages/cli/README.md b/packages/cli/README.md index 32794eac5..44b79be25 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -181,6 +181,7 @@ that map to the API spec. * [`smartthings devices:component-status [ID] [COMPONENT]`](#smartthings-devicescomponent-status-id-component) * [`smartthings devices:delete [ID]`](#smartthings-devicesdelete-id) * [`smartthings devices:health [ID]`](#smartthings-deviceshealth-id) +* [`smartthings devices:history [ID]`](#smartthings-deviceshistory-id) * [`smartthings devices:preferences [ID]`](#smartthings-devicespreferences-id) * [`smartthings devices:presentation [ID]`](#smartthings-devicespresentation-id) * [`smartthings devices:rename [ID] [LABEL]`](#smartthings-devicesrename-id-label) @@ -227,6 +228,7 @@ that map to the API spec. * [`smartthings locations [IDORINDEX]`](#smartthings-locations-idorindex) * [`smartthings locations:create`](#smartthings-locationscreate) * [`smartthings locations:delete [ID]`](#smartthings-locationsdelete-id) +* [`smartthings locations:history [ID]`](#smartthings-locationshistory-id) * [`smartthings locations:rooms [IDORINDEX]`](#smartthings-locationsrooms-idorindex) * [`smartthings locations:rooms:create`](#smartthings-locationsroomscreate) * [`smartthings locations:rooms:delete [ID]`](#smartthings-locationsroomsdelete-id) @@ -301,7 +303,7 @@ DESCRIPTION get a specific app or a list of apps ``` -_See code: [src/commands/apps.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/apps.ts)_ +_See code: [src/commands/apps.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/apps.ts)_ ## `smartthings apps:authorize ARN` @@ -343,7 +345,7 @@ EXAMPLES It requires your machine to be configured to run the AWS CLI ``` -_See code: [src/commands/apps/authorize.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/apps/authorize.ts)_ +_See code: [src/commands/apps/authorize.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/apps/authorize.ts)_ ## `smartthings apps:create` @@ -372,7 +374,7 @@ DESCRIPTION create an app ``` -_See code: [src/commands/apps/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/apps/create.ts)_ +_See code: [src/commands/apps/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/apps/create.ts)_ ## `smartthings apps:delete [ID]` @@ -395,7 +397,7 @@ DESCRIPTION delete the app ``` -_See code: [src/commands/apps/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/apps/delete.ts)_ +_See code: [src/commands/apps/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/apps/delete.ts)_ ## `smartthings apps:oauth [ID]` @@ -421,7 +423,7 @@ DESCRIPTION get OAuth information for the app ``` -_See code: [src/commands/apps/oauth.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/apps/oauth.ts)_ +_See code: [src/commands/apps/oauth.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/apps/oauth.ts)_ ## `smartthings apps:oauth:generate [ID]` @@ -450,7 +452,7 @@ DESCRIPTION regenerate the OAuth clientId and clientSecret of an app ``` -_See code: [src/commands/apps/oauth/generate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/apps/oauth/generate.ts)_ +_See code: [src/commands/apps/oauth/generate.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/apps/oauth/generate.ts)_ ## `smartthings apps:oauth:update [ID]` @@ -479,7 +481,7 @@ DESCRIPTION update the OAuth settings of the app ``` -_See code: [src/commands/apps/oauth/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/apps/oauth/update.ts)_ +_See code: [src/commands/apps/oauth/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/apps/oauth/update.ts)_ ## `smartthings apps:register [ID]` @@ -502,7 +504,7 @@ DESCRIPTION send request to app target URL to confirm existence and authorize lifecycle events ``` -_See code: [src/commands/apps/register.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/apps/register.ts)_ +_See code: [src/commands/apps/register.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/apps/register.ts)_ ## `smartthings apps:settings [ID]` @@ -528,7 +530,7 @@ DESCRIPTION get the settings of the app ``` -_See code: [src/commands/apps/settings.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/apps/settings.ts)_ +_See code: [src/commands/apps/settings.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/apps/settings.ts)_ ## `smartthings apps:settings:update [ID]` @@ -557,7 +559,7 @@ DESCRIPTION update the settings of the app ``` -_See code: [src/commands/apps/settings/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/apps/settings/update.ts)_ +_See code: [src/commands/apps/settings/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/apps/settings/update.ts)_ ## `smartthings apps:update [ID]` @@ -589,7 +591,7 @@ DESCRIPTION update the settings of the app ``` -_See code: [src/commands/apps/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/apps/update.ts)_ +_See code: [src/commands/apps/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/apps/update.ts)_ ## `smartthings autocomplete [SHELL]` @@ -650,7 +652,7 @@ DESCRIPTION get a specific capability ``` -_See code: [src/commands/capabilities.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/capabilities.ts)_ +_See code: [src/commands/capabilities.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/capabilities.ts)_ ## `smartthings capabilities:create` @@ -678,7 +680,7 @@ DESCRIPTION create a capability for a user ``` -_See code: [src/commands/capabilities/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/capabilities/create.ts)_ +_See code: [src/commands/capabilities/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/capabilities/create.ts)_ ## `smartthings capabilities:delete [ID] [VERSION]` @@ -703,7 +705,7 @@ DESCRIPTION delete a capability ``` -_See code: [src/commands/capabilities/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/capabilities/delete.ts)_ +_See code: [src/commands/capabilities/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/capabilities/delete.ts)_ ## `smartthings capabilities:namespaces` @@ -728,7 +730,7 @@ DESCRIPTION list all capability namespaces currently available in a user account ``` -_See code: [src/commands/capabilities/namespaces.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/capabilities/namespaces.ts)_ +_See code: [src/commands/capabilities/namespaces.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/capabilities/namespaces.ts)_ ## `smartthings capabilities:presentation [ID] [VERSION]` @@ -758,7 +760,7 @@ DESCRIPTION get presentation information for a specific capability ``` -_See code: [src/commands/capabilities/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/capabilities/presentation.ts)_ +_See code: [src/commands/capabilities/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/capabilities/presentation.ts)_ ## `smartthings capabilities:presentation:create [ID] [VERSION]` @@ -789,7 +791,7 @@ DESCRIPTION create presentation model for a capability ``` -_See code: [src/commands/capabilities/presentation/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/capabilities/presentation/create.ts)_ +_See code: [src/commands/capabilities/presentation/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/capabilities/presentation/create.ts)_ ## `smartthings capabilities:presentation:update [ID] [VERSION]` @@ -820,7 +822,7 @@ DESCRIPTION update presentation information of a capability ``` -_See code: [src/commands/capabilities/presentation/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/capabilities/presentation/update.ts)_ +_See code: [src/commands/capabilities/presentation/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/capabilities/presentation/update.ts)_ ## `smartthings capabilities:translations [ID] [VERSION] [TAG]` @@ -979,7 +981,7 @@ EXAMPLES └──────────────────────────────────────┴───────────────────────┴──────────────────────────────────────────────────┘ ``` -_See code: [src/commands/capabilities/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/capabilities/translations.ts)_ +_See code: [src/commands/capabilities/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/capabilities/translations.ts)_ ## `smartthings capabilities:translations:create [ID] [VERSION]` @@ -1103,7 +1105,7 @@ EXAMPLES label: Output Modulation ``` -_See code: [src/commands/capabilities/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/capabilities/translations/create.ts)_ +_See code: [src/commands/capabilities/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/capabilities/translations/create.ts)_ ## `smartthings capabilities:translations:update [ID] [VERSION]` @@ -1227,7 +1229,7 @@ EXAMPLES label: Output Modulation ``` -_See code: [src/commands/capabilities/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/capabilities/translations/update.ts)_ +_See code: [src/commands/capabilities/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/capabilities/translations/update.ts)_ ## `smartthings capabilities:translations:upsert [ID] [VERSION]` @@ -1351,7 +1353,7 @@ EXAMPLES label: Output Modulation ``` -_See code: [src/commands/capabilities/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/capabilities/translations/upsert.ts)_ +_See code: [src/commands/capabilities/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/capabilities/translations/upsert.ts)_ ## `smartthings capabilities:update [ID] [VERSION]` @@ -1382,7 +1384,7 @@ DESCRIPTION update a capability ``` -_See code: [src/commands/capabilities/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/capabilities/update.ts)_ +_See code: [src/commands/capabilities/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/capabilities/update.ts)_ ## `smartthings config [NAME]` @@ -1407,7 +1409,7 @@ DESCRIPTION list config file entries ``` -_See code: [src/commands/config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/config.ts)_ +_See code: [src/commands/config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/config.ts)_ ## `smartthings config:reset` @@ -1428,7 +1430,7 @@ DESCRIPTION to use?" You can use this command to clear those answers. ``` -_See code: [src/commands/config/reset.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/config/reset.ts)_ +_See code: [src/commands/config/reset.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/config/reset.ts)_ ## `smartthings device-preferences [IDORINDEX]` @@ -1600,7 +1602,7 @@ EXAMPLES ## `smartthings device-profiles:create` -Create a new device profile +create a new device profile ``` USAGE @@ -1620,7 +1622,7 @@ FLAGS --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION - Create a new device profile + create a new device profile Creates a new device profile. If a vid field is not present in the meta @@ -1775,7 +1777,7 @@ ALIASES ## `smartthings device-profiles:translations [ID] [TAG]` -Get list of locales supported by the device profiles +get list of locales supported by the device profiles ``` USAGE @@ -1798,7 +1800,7 @@ FLAGS --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION - Get list of locales supported by the device profiles + get list of locales supported by the device profiles ALIASES $ smartthings device-profiles:translations @@ -2329,7 +2331,7 @@ EXAMPLES $ smartthings devicepreferences 3 -o dp.json # write details as JSON for third preference to dp.json ``` -_See code: [src/commands/devicepreferences.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/devicepreferences.ts)_ +_See code: [src/commands/devicepreferences.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/devicepreferences.ts)_ ## `smartthings devicepreferences:create` @@ -2376,7 +2378,7 @@ EXAMPLES $ smartthings devicepreferences: create - i dp.json - o dp - saved.json ``` -_See code: [src/commands/devicepreferences/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/devicepreferences/create.ts)_ +_See code: [src/commands/devicepreferences/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/devicepreferences/create.ts)_ ## `smartthings devicepreferences:translations [PREFERENCEID] [TAG]` @@ -2418,7 +2420,7 @@ EXAMPLES $ smartthings devicepreferences:translations motionSensitivity ko ``` -_See code: [src/commands/devicepreferences/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/devicepreferences/translations.ts)_ +_See code: [src/commands/devicepreferences/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/devicepreferences/translations.ts)_ ## `smartthings devicepreferences:translations:create [PREFERENCEID]` @@ -2451,7 +2453,7 @@ EXAMPLES $ smartthings devicepreferences:translations:create -i preferenceTranslation.json ``` -_See code: [src/commands/devicepreferences/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/devicepreferences/translations/create.ts)_ +_See code: [src/commands/devicepreferences/translations/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/devicepreferences/translations/create.ts)_ ## `smartthings devicepreferences:translations:update [PREFERENCEID]` @@ -2484,7 +2486,7 @@ EXAMPLES $ smartthings devicepreferences:translations:update -i preferenceTranslation.json ``` -_See code: [src/commands/devicepreferences/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/devicepreferences/translations/update.ts)_ +_See code: [src/commands/devicepreferences/translations/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/devicepreferences/translations/update.ts)_ ## `smartthings devicepreferences:update [ID]` @@ -2522,7 +2524,7 @@ EXAMPLES $ smartthings devicepreferences:update -i dp.yaml my-preference-id # update device preference my-preference-id with data from dp.yaml ``` -_See code: [src/commands/devicepreferences/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/devicepreferences/update.ts)_ +_See code: [src/commands/devicepreferences/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/devicepreferences/update.ts)_ ## `smartthings deviceprofiles [ID]` @@ -2568,11 +2570,11 @@ EXAMPLES $ smartthings deviceprofiles 4 -j -o profile.json # write the profile to the file "profile.json" ``` -_See code: [src/commands/deviceprofiles.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles.ts)_ +_See code: [src/commands/deviceprofiles.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles.ts)_ ## `smartthings deviceprofiles:create` -Create a new device profile +create a new device profile ``` USAGE @@ -2592,7 +2594,7 @@ FLAGS --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION - Create a new device profile + create a new device profile Creates a new device profile. If a vid field is not present in the meta @@ -2611,7 +2613,7 @@ EXAMPLES $ smartthings deviceprofiles:create # create a device profile with interactive dialog ``` -_See code: [src/commands/deviceprofiles/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles/create.ts)_ +_See code: [src/commands/deviceprofiles/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles/create.ts)_ ## `smartthings deviceprofiles:delete [ID]` @@ -2643,7 +2645,7 @@ EXAMPLES $ smartthings deviceprofiles:delete 5 # delete the 5th profile in the list ``` -_See code: [src/commands/deviceprofiles/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles/delete.ts)_ +_See code: [src/commands/deviceprofiles/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles/delete.ts)_ ## `smartthings deviceprofiles:device-config [ID]` @@ -2674,7 +2676,7 @@ ALIASES $ smartthings device-profiles:device-config ``` -_See code: [src/commands/deviceprofiles/device-config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles/device-config.ts)_ +_See code: [src/commands/deviceprofiles/device-config.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles/device-config.ts)_ ## `smartthings deviceprofiles:presentation [ID]` @@ -2722,7 +2724,7 @@ EXAMPLES flag then no language header is specified in the API request ``` -_See code: [src/commands/deviceprofiles/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles/presentation.ts)_ +_See code: [src/commands/deviceprofiles/presentation.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles/presentation.ts)_ ## `smartthings deviceprofiles:publish [ID]` @@ -2753,11 +2755,11 @@ ALIASES $ smartthings device-profiles:publish ``` -_See code: [src/commands/deviceprofiles/publish.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles/publish.ts)_ +_See code: [src/commands/deviceprofiles/publish.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles/publish.ts)_ ## `smartthings deviceprofiles:translations [ID] [TAG]` -Get list of locales supported by the device profiles +get list of locales supported by the device profiles ``` USAGE @@ -2780,7 +2782,7 @@ FLAGS --language= ISO language code or "NONE" to not specify a language. Defaults to the OS locale DESCRIPTION - Get list of locales supported by the device profiles + get list of locales supported by the device profiles ALIASES $ smartthings device-profiles:translations @@ -2887,7 +2889,7 @@ EXAMPLES └───────────┴────────────┴───────────────────────────────┘ ``` -_See code: [src/commands/deviceprofiles/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles/translations.ts)_ +_See code: [src/commands/deviceprofiles/translations.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles/translations.ts)_ ## `smartthings deviceprofiles:translations:delete [ID] [TAG]` @@ -2955,7 +2957,7 @@ EXAMPLES Device profile "3acbf2fc-6be2-4be0-aeb5-44759cbd66c2" translation "en" deleted ``` -_See code: [src/commands/deviceprofiles/translations/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles/translations/delete.ts)_ +_See code: [src/commands/deviceprofiles/translations/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles/translations/delete.ts)_ ## `smartthings deviceprofiles:translations:upsert [ID]` @@ -3053,7 +3055,7 @@ EXAMPLES description: Switchable outlet 1 power ``` -_See code: [src/commands/deviceprofiles/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles/translations/upsert.ts)_ +_See code: [src/commands/deviceprofiles/translations/upsert.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles/translations/upsert.ts)_ ## `smartthings deviceprofiles:update [ID]` @@ -3086,7 +3088,7 @@ ALIASES $ smartthings device-profiles:update ``` -_See code: [src/commands/deviceprofiles/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles/update.ts)_ +_See code: [src/commands/deviceprofiles/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles/update.ts)_ ## `smartthings deviceprofiles:view [ID]` @@ -3117,7 +3119,7 @@ ALIASES $ smartthings device-profiles:view ``` -_See code: [src/commands/deviceprofiles/view.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles/view.ts)_ +_See code: [src/commands/deviceprofiles/view.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles/view.ts)_ ## `smartthings deviceprofiles:view:create` @@ -3194,7 +3196,7 @@ EXAMPLES - capability: switch ``` -_See code: [src/commands/deviceprofiles/view/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles/view/create.ts)_ +_See code: [src/commands/deviceprofiles/view/create.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles/view/create.ts)_ ## `smartthings deviceprofiles:view:update [ID]` @@ -3280,7 +3282,7 @@ EXAMPLES - capability: switch ``` -_See code: [src/commands/deviceprofiles/view/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.12/packages/cli/src/commands/deviceprofiles/view/update.ts)_ +_See code: [src/commands/deviceprofiles/view/update.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/@smartthings/cli@1.0.0-beta.13/packages/cli/src/commands/deviceprofiles/view/update.ts)_ ## `smartthings devices [ID]` @@ -3289,8 +3291,8 @@ list all devices available in a user account or retrieve a single device ``` USAGE $ smartthings devices [ID] [-h] [-p ] [-t ] [--language ] [-j] [-y] [-o ] [-l - ] [-C and|or -c ] [-d ] [-a ] [--type BLE|BLE_D2D|DTH|ENDPOINT_APP|GROUP|HUB|IR|IR_OCF|L - AN|MATTER|MOBILE|MQTT|OCF|PENGYOU|SHP|VIDEO|VIPER|VIRTUAL|WATCH|ZIGBEE|ZWAVE] [-v] + ] [-C and|or -c ] [-d ] [-a ] [-s] [-H] [--type BLE|BLE_D2D|DTH|ENDPOINT_APP|GROUP|HUB|I + R|IR_OCF|LAN|MATTER|MOBILE|MQTT|OCF|PENGYOU|SHP|VIDEO|VIPER|VIRTUAL|WATCH|ZIGBEE|ZWAVE] [-v] ARGUMENTS ID device to retrieve; UUID or the number of the device from list @@ -3299,6 +3301,7 @@ FLAGS -C, --capabilities-mode=