MCPcopy
hub / github.com/Koenkk/zigbee2mqtt / resolveDevicesDefinitions

Method resolveDevicesDefinitions

lib/zigbee.ts:276–284  ·  view source on GitHub ↗
(ignoreCache = false, abortSignal: AbortSignal | undefined = undefined)

Source from the content-addressed store, hash-verified

274 }
275
276 async resolveDevicesDefinitions(ignoreCache = false, abortSignal: AbortSignal | undefined = undefined): Promise<void> {
277 for (const device of this.devicesIterator(utils.deviceNotCoordinator)) {
278 await device.resolveDefinition(ignoreCache);
279
280 if (abortSignal?.aborted) {
281 return;
282 }
283 }
284 }
285
286 @bind private resolveDevice(ieeeAddr: string): Device | undefined {
287 if (!this.deviceLookup.has(ieeeAddr)) {

Callers 5

startMethod · 0.95
removeJSMethod · 0.80
loadJSMethod · 0.80
controller.test.tsFile · 0.80

Calls 2

devicesIteratorMethod · 0.95
resolveDefinitionMethod · 0.80

Tested by

no test coverage detected