Move effects control down (#988)

It's the least important control in the whole more info picker, yet was taking up the prime spot.
This commit is contained in:
Paulus Schoutsen 2018-03-13 23:58:12 -07:00 committed by GitHub
parent 7066b40e4c
commit 2ed5b7e7c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,17 +62,6 @@
<div class$='[[computeClassNames(stateObj)]]'> <div class$='[[computeClassNames(stateObj)]]'>
<div class='effect_list'>
<paper-dropdown-menu label-float dynamic-align label='Effect'>
<paper-listbox slot="dropdown-content" selected="{{effectIndex}}">
<template is='dom-repeat'
items='[[stateObj.attributes.effect_list]]'>
<paper-item>[[item]]</paper-item>
</template>
</paper-listbox>
</paper-dropdown-menu>
</div>
<div class='brightness'> <div class='brightness'>
<ha-labeled-slider <ha-labeled-slider
caption='Brightness' icon='mdi:brightness-5' max='255' caption='Brightness' icon='mdi:brightness-5' max='255'
@ -104,6 +93,17 @@
> >
</ha-color-picker> </ha-color-picker>
<div class='effect_list'>
<paper-dropdown-menu label-float dynamic-align label='Effect'>
<paper-listbox slot="dropdown-content" selected="{{effectIndex}}">
<template is='dom-repeat'
items='[[stateObj.attributes.effect_list]]'>
<paper-item>[[item]]</paper-item>
</template>
</paper-listbox>
</paper-dropdown-menu>
</div>
<ha-attributes state-obj="[[stateObj]]" extra-filters="brightness,color_temp,white_value,effect_list,effect,rgb_color,xy_color,min_mireds,max_mireds"></ha-attributes> <ha-attributes state-obj="[[stateObj]]" extra-filters="brightness,color_temp,white_value,effect_list,effect,rgb_color,xy_color,min_mireds,max_mireds"></ha-attributes>
</div> </div>
</template> </template>