mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-14 12:56:37 +00:00
Invert order
This commit is contained in:
parent
ca315b88ce
commit
7144b7802e
@ -202,21 +202,6 @@ class HuiAreaControlsCardFeature
|
||||
const sectionConfig: LovelaceSectionConfig = {
|
||||
type: "grid",
|
||||
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",
|
||||
heading: "Actions",
|
||||
@ -258,6 +243,21 @@ class HuiAreaControlsCardFeature
|
||||
columns: 6,
|
||||
},
|
||||
} 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