Skip to content

Commit

Permalink
Tweak first section in section demo (#21249)
Browse files Browse the repository at this point in the history
* Tweak first section in section demo

* Allow automation entities be toggled
  • Loading branch information
balloob authored Jul 2, 2024
1 parent 5707ca0 commit 7258e31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
25 changes: 5 additions & 20 deletions demo/src/configs/sections/lovelace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,6 @@ export const demoLovelaceSections: DemoConfig["lovelace"] = () => ({
]),
{
cards: [
{
type: "tile",
entity: "cover.living_room_garden_shutter",
name: "Garden",
},
{
type: "tile",
entity: "cover.living_room_graveyard_shutter",
name: "Rear",
},
{
type: "tile",
entity: "cover.living_room_left_shutter",
name: "Left",
},
{
type: "tile",
entity: "cover.living_room_right_shutter",
name: "Right",
},
{
type: "tile",
entity: "light.floor_lamp",
Expand All @@ -65,6 +45,11 @@ export const demoLovelaceSections: DemoConfig["lovelace"] = () => ({
detail: 1,
name: "Temperature",
},
{
type: "tile",
entity: "cover.living_room_garden_shutter",
name: "Blinds",
},
{
type: "tile",
entity: "media_player.living_room_nest_mini",
Expand Down
1 change: 1 addition & 0 deletions src/fake_data/entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ class GroupEntity extends Entity {
}

const TYPES = {
automation: ToggleEntity,
alarm_control_panel: AlarmControlPanelEntity,
climate: ClimateEntity,
cover: CoverEntity,
Expand Down

0 comments on commit 7258e31

Please sign in to comment.