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

Method start

test/assets/external_extensions/mjs/exampleExtension.mjs:8–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 }
7
8 start() {
9 this.mqtt.publish("example/extension", "call from start");
10 this.mqtt.publish("example/extension/counter", `start ${this.counter++}`);
11 }
12
13 stop() {
14 this.mqtt.publish("example/extension", "call from stop");

Callers

nothing calls this directly

Calls 1

publishMethod · 0.45

Tested by

no test coverage detected