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

Function list

src/commands/edge/drivers/devices.ts:75–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 const matchingDevices = (await getDriverDevices(command.client)).filter(matchesUserFilters)
74
75 const list = async (): Promise<DeviceDriverInfo[]> => matchingDevices
76
77 const get = async (id: string): Promise<DeviceDriverInfo> => {
78 const match = matchingDevices.find(device => device.deviceId === id)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected