()
| 31 | trace("Web Thing API support deprecated.\n"); |
| 32 | } |
| 33 | changed() { |
| 34 | if (!this.host.mdns) |
| 35 | return; |
| 36 | const thing = this.host.things.find(thing => this === thing.instance); |
| 37 | if (this.host.updateTXT(thing)) |
| 38 | this.host.mdns.update(thing.service); |
| 39 | } |
| 40 | set controller(data) { |
| 41 | const description = this.constructor.description; |
| 42 | for (let i=0; i<data.length; i++) { |