mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-09 18:36:35 +00:00
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:
parent
7066b40e4c
commit
2ed5b7e7c1
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user