mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 00:36:34 +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
21140f437e
commit
87fe84b1ac
@ -230,6 +230,9 @@ class ZWaveJSNodeConfig extends SubscribeMixin(LitElement) {
|
|||||||
.disabled=${!item.metadata.writeable}
|
.disabled=${!item.metadata.writeable}
|
||||||
@value-changed=${this._numericInputChanged}
|
@value-changed=${this._numericInputChanged}
|
||||||
>
|
>
|
||||||
|
${item.metadata.unit
|
||||||
|
? html`<span slot="suffix">${item.metadata.unit}</span>`
|
||||||
|
: ""}
|
||||||
</paper-input> `;
|
</paper-input> `;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user