Invert order

This commit is contained in:
Paul Bottein 2025-07-08 15:06:59 +02:00
parent ca315b88ce
commit 7144b7802e
No known key found for this signature in database

View File

@ -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",
},
],
})),
],
};