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

Method removeDevice

packages/lib/src/deviceManager.ts:22–24  ·  view source on GitHub ↗
(device: Device)

Source from the content-addressed store, hash-verified

20 }
21
22 removeDevice(device: Device): void {
23 this.devices.delete(device.id as UUID);
24 }
25
26 removeDeviceById(deviceId: string): void {
27 this.devices.delete(deviceId as UUID);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected