mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 05:16:34 +00:00
Invert order
This commit is contained in:
parent
ca315b88ce
commit
7144b7802e
@ -202,21 +202,6 @@ class HuiAreaControlsCardFeature
|
|||||||
const sectionConfig: LovelaceSectionConfig = {
|
const sectionConfig: LovelaceSectionConfig = {
|
||||||
type: "grid",
|
type: "grid",
|
||||||
cards: [
|
cards: [
|
||||||
{
|
|
||||||
type: "heading",
|
|
||||||
heading: "Controls",
|
|
||||||
heading_style: "subtitle",
|
|
||||||
},
|
|
||||||
...entities.map<TileCardConfig>((entity) => ({
|
|
||||||
type: "tile",
|
|
||||||
entity: entity.entity_id,
|
|
||||||
features_position: "inline",
|
|
||||||
features: [
|
|
||||||
{
|
|
||||||
type: "light-brightness",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
})),
|
|
||||||
{
|
{
|
||||||
type: "heading",
|
type: "heading",
|
||||||
heading: "Actions",
|
heading: "Actions",
|
||||||
@ -258,6 +243,21 @@ class HuiAreaControlsCardFeature
|
|||||||
columns: 6,
|
columns: 6,
|
||||||
},
|
},
|
||||||
} as ButtonCardConfig,
|
} as ButtonCardConfig,
|
||||||
|
{
|
||||||
|
type: "heading",
|
||||||
|
heading: "Controls",
|
||||||
|
heading_style: "subtitle",
|
||||||
|
},
|
||||||
|
...entities.map<TileCardConfig>((entity) => ({
|
||||||
|
type: "tile",
|
||||||
|
entity: entity.entity_id,
|
||||||
|
features_position: "inline",
|
||||||
|
features: [
|
||||||
|
{
|
||||||
|
type: "light-brightness",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
})),
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user