MCPcopy Create free account
hub / github.com/SmartThingsCommunity/smartthings-cli / chooseSceneFn

Function chooseSceneFn

src/lib/command/util/scenes-util.ts:11–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9]
10
11export const chooseSceneFn = (): ChooseFunction<SceneSummary> => createChooseFn(
12 {
13 itemName: 'scene',
14 primaryKeyName: 'sceneId',
15 sortKeyName: 'sceneName',
16 },
17 command => command.client.scenes.list(),
18)
19
20export const chooseScene = chooseSceneFn()

Callers 2

scenes-util.tsFile · 0.85

Calls 1

createChooseFnFunction · 0.85

Tested by

no test coverage detected