Use grid for sensor cards on 2nd view of teaching birds demo (#9132)

This commit is contained in:
Paulus Schoutsen 2021-05-08 04:07:58 -07:00 committed by GitHub
parent 38b3a9205d
commit 6edebe18ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -440,8 +440,8 @@ export const demoLovelaceTeachingbirds: DemoConfig["lovelace"] = () => ({
type: "horizontal-stack", type: "horizontal-stack",
}, },
{ {
cards: [ type: "grid",
{ columns: 2,
cards: [ cards: [
{ {
graph: "line", graph: "line",
@ -454,11 +454,6 @@ export const demoLovelaceTeachingbirds: DemoConfig["lovelace"] = () => ({
name: "S's room", name: "S's room",
entity: "sensor.temperature_stefan", entity: "sensor.temperature_stefan",
}, },
],
type: "horizontal-stack",
},
{
cards: [
{ {
graph: "line", graph: "line",
type: "sensor", type: "sensor",
@ -470,11 +465,6 @@ export const demoLovelaceTeachingbirds: DemoConfig["lovelace"] = () => ({
name: "Bathroom", name: "Bathroom",
entity: "sensor.temperature_downstairs_bathroom", entity: "sensor.temperature_downstairs_bathroom",
}, },
],
type: "horizontal-stack",
},
{
cards: [
{ {
graph: "line", graph: "line",
type: "sensor", type: "sensor",
@ -487,10 +477,6 @@ export const demoLovelaceTeachingbirds: DemoConfig["lovelace"] = () => ({
entity: "sensor.refrigerator", entity: "sensor.refrigerator",
}, },
], ],
type: "horizontal-stack",
},
],
type: "vertical-stack",
}, },
{ {
entities: [ entities: [