fix #5300: always show attribute step (#5302)

This commit is contained in:
Robert Resch 2020-03-21 15:15:20 +01:00 committed by GitHub
parent 41a2d9604e
commit 02e01626f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 14 deletions

View File

@ -132,8 +132,6 @@ class HaInputNumberForm extends LitElement {
</paper-radio-button>
</paper-radio-group>
</div>
${this._mode === "slider"
? html`
<paper-input
.value=${this._step}
.configValue=${"step"}
@ -143,8 +141,7 @@ class HaInputNumberForm extends LitElement {
"ui.dialogs.helper_settings.input_number.step"
)}
></paper-input>
`
: ""}
<paper-input
.value=${this._unit_of_measurement}
.configValue=${"unit_of_measurement"}

View File

@ -686,7 +686,7 @@
"mode": "Display mode",
"box": "Input field",
"slider": "Slider",
"step": "Step size of the slider",
"step": "Step size",
"unit_of_measurement": "Unit of measurement"
},
"input_select": {