Fix zwave_js config panel manual entry inputs (#8806)

This commit is contained in:
Charles Garwood 2021-04-03 10:08:41 -04:00 committed by GitHub
parent 05faa52425
commit 99f66d7c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ class ZWaveJSNodeConfig extends SubscribeMixin(LitElement) {
// Numeric entries with a min value of 0 and max of 1 are considered boolean
if (
(item.configuration_value_type === "range" &&
(item.configuration_value_type === "manual_entry" &&
item.metadata.min === 0 &&
item.metadata.max === 1) ||
this._isEnumeratedBool(item)
@ -217,7 +217,7 @@ class ZWaveJSNodeConfig extends SubscribeMixin(LitElement) {
`;
}
if (item.configuration_value_type === "range") {
if (item.configuration_value_type === "manual_entry") {
return html`${labelAndDescription}
<paper-input
type="number"