diff --git a/packages/core/hap.mjs b/packages/core/hap.mjs index 169631c0..19576852 100644 --- a/packages/core/hap.mjs +++ b/packages/core/hap.mjs @@ -82,6 +82,10 @@ export class Hap { '(' + (this.whole == undefined ? '~' : this.whole.show()) + ', ' + this.part.show() + ', ' + this.value + ')' ); } + + showWhole() { + return `${this.whole == undefined ? '~' : this.whole.show()}: ${this.value}`; + } combineContext(b) { const a = this;