Add units to Z-Wave JS Node Config inputs (#8869)

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Charles Garwood 2021-04-08 19:32:47 -04:00 committed by GitHub
parent 21140f437e
commit 87fe84b1ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,6 +230,9 @@ class ZWaveJSNodeConfig extends SubscribeMixin(LitElement) {
.disabled=${!item.metadata.writeable}
@value-changed=${this._numericInputChanged}
>
${item.metadata.unit
? html`<span slot="suffix">${item.metadata.unit}</span>`
: ""}
</paper-input> `;
}