mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Update zwave_js config parameters page (#17529)
This commit is contained in:
parent
fa3625985c
commit
b8fcb9272a
@ -271,9 +271,7 @@ class ZWaveJSNodeConfig extends SubscribeMixin(LitElement) {
|
|||||||
|
|
||||||
// Numeric entries with a min value of 0 and max of 1 are considered boolean
|
// Numeric entries with a min value of 0 and max of 1 are considered boolean
|
||||||
if (
|
if (
|
||||||
(item.configuration_value_type === "manual_entry" &&
|
item.configuration_value_type === "boolean" ||
|
||||||
item.metadata.min === 0 &&
|
|
||||||
item.metadata.max === 1) ||
|
|
||||||
this._isEnumeratedBool(item)
|
this._isEnumeratedBool(item)
|
||||||
) {
|
) {
|
||||||
return html`
|
return html`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user