The message read "the handler of TurnOn is a function", which states the
opposite of what went wrong. It is now
on("TurnOff") got undefined as the handler: pass a function that takes
the context of the directive
under the endpoint and the interface, as every DeclarationError.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| Capability.d.ts | ||
| Capability.js | ||
| Device.d.ts | ||
| Device.js | ||
| validate.d.ts | ||
| validate.js | ||