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,57 +440,43 @@ export const demoLovelaceTeachingbirds: DemoConfig["lovelace"] = () => ({
type: "horizontal-stack", type: "horizontal-stack",
}, },
{ {
type: "grid",
columns: 2,
cards: [ cards: [
{ {
cards: [ graph: "line",
{ type: "sensor",
graph: "line", entity: "sensor.temperature_bedroom",
type: "sensor",
entity: "sensor.temperature_bedroom",
},
{
graph: "line",
type: "sensor",
name: "S's room",
entity: "sensor.temperature_stefan",
},
],
type: "horizontal-stack",
}, },
{ {
cards: [ graph: "line",
{ type: "sensor",
graph: "line", name: "S's room",
type: "sensor", entity: "sensor.temperature_stefan",
entity: "sensor.temperature_passage",
},
{
graph: "line",
type: "sensor",
name: "Bathroom",
entity: "sensor.temperature_downstairs_bathroom",
},
],
type: "horizontal-stack",
}, },
{ {
cards: [ graph: "line",
{ type: "sensor",
graph: "line", entity: "sensor.temperature_passage",
type: "sensor", },
entity: "sensor.temperature_storage", {
}, graph: "line",
{ type: "sensor",
graph: "line", name: "Bathroom",
type: "sensor", entity: "sensor.temperature_downstairs_bathroom",
name: "Refrigerator", },
entity: "sensor.refrigerator", {
}, graph: "line",
], type: "sensor",
type: "horizontal-stack", entity: "sensor.temperature_storage",
},
{
graph: "line",
type: "sensor",
name: "Refrigerator",
entity: "sensor.refrigerator",
}, },
], ],
type: "vertical-stack",
}, },
{ {
entities: [ entities: [