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 Bram Kragten
parent 97508a6f31
commit 7c823c98ae
No known key found for this signature in database
GPG Key ID: FBE2DFDB363EF55B

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> `;
}