Builds a facade manager bound to the given API client; facades it returns share that reference.
Heatzy API client.
Returns the cached facade for the given entity, lazily creating
one on first access; passing undefined returns null.
Registry entity to wrap, or undefined.
The facade, or null when no instance was supplied.
Returns the cached facade for the given entity, lazily creating
one on first access; passing undefined returns null.
The facade, or null when no instance was supplied.
Returns the cached facade for the given entity, lazily creating
one on first access; passing undefined returns null.
Optionalinstance: Device
Registry entity to wrap, or undefined.
The facade, or null when no instance was supplied.
Lazily creates and caches facade instances using a WeakMap keyed by entity reference. Ensures each registry entity maps to exactly one facade throughout its lifetime.