mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 13:57:21 +00:00
Add units to Z-Wave JS Node Config inputs (#8869)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
parent
97508a6f31
commit
7c823c98ae
@ -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> `;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user