Tweak first section in section demo (#21249)
* Tweak first section in section demo * Allow automation entities be toggledpull/21255/head
parent
5707ca0016
commit
7258e31348
|
@ -20,26 +20,6 @@ export const demoLovelaceSections: DemoConfig["lovelace"] = () => ({
|
||||||
]),
|
]),
|
||||||
{
|
{
|
||||||
cards: [
|
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",
|
type: "tile",
|
||||||
entity: "light.floor_lamp",
|
entity: "light.floor_lamp",
|
||||||
|
@ -65,6 +45,11 @@ export const demoLovelaceSections: DemoConfig["lovelace"] = () => ({
|
||||||
detail: 1,
|
detail: 1,
|
||||||
name: "Temperature",
|
name: "Temperature",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: "tile",
|
||||||
|
entity: "cover.living_room_garden_shutter",
|
||||||
|
name: "Blinds",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: "tile",
|
type: "tile",
|
||||||
entity: "media_player.living_room_nest_mini",
|
entity: "media_player.living_room_nest_mini",
|
||||||
|
|
|
@ -394,6 +394,7 @@ class GroupEntity extends Entity {
|
||||||
}
|
}
|
||||||
|
|
||||||
const TYPES = {
|
const TYPES = {
|
||||||
|
automation: ToggleEntity,
|
||||||
alarm_control_panel: AlarmControlPanelEntity,
|
alarm_control_panel: AlarmControlPanelEntity,
|
||||||
climate: ClimateEntity,
|
climate: ClimateEntity,
|
||||||
cover: CoverEntity,
|
cover: CoverEntity,
|
||||||
|
|
Loading…
Reference in New Issue