Change valueMin and Max props (#905)

This commit is contained in:
Paulus Schoutsen 2018-02-19 21:47:23 -08:00 committed by GitHub
parent 72a0b3520d
commit 6a5de599df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,8 +40,8 @@
<paper-slider
pin
value='{{data}}'
min='[[schema.value-min]]'
max='[[schema.value-max]]'
min='[[schema.valueMin]]'
max='[[schema.valueMax]]'
></paper-slider>
</div>
</template>
@ -100,7 +100,7 @@ class HaForm extends window.hassMixins.EventsMixin(Polymer.Element) {
}
_isRange(schema) {
return ('value-min' in schema) && ('value-max' in schema);
return ('valueMin' in schema) && ('valueMax' in schema);
}
_equals(a, b) {