Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
sendMessageToDevice
Method · 0.95
deviceManager.test.ts
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected