MCPcopy Create free account
hub / github.com/bytespider/Meross / getDeviceById

Method getDeviceById

packages/lib/src/deviceManager.ts:34–36  ·  view source on GitHub ↗
(deviceId: string)

Source from the content-addressed store, hash-verified

32 }
33
34 getDeviceById(deviceId: string): Device | undefined {
35 return this.devices.get(deviceId as UUID);
36 }
37
38 async sendMessageToDevice(
39 deviceOrId: UUID | Device,

Callers 2

sendMessageToDeviceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected