Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytespider/Meross
/ addDevice
Method
addDevice
packages/lib/src/deviceManager.ts:18–20 ·
view source on GitHub ↗
(device: Device)
Source
from the content-addressed store, hash-verified
16
}
17
18
addDevice(device: Device): void {
19
this.devices.set(device.id as UUID, device);
20
}
21
22
removeDevice(device: Device): void {
23
this.devices.delete(device.id as UUID);
Callers
1
deviceManager.test.ts
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected