lovelace: Update for new version of popup-card

This commit is contained in:
Thomas Lovén 2019-03-06 22:19:58 +01:00
parent 8f66f5a5ed
commit 334133f469
2 changed files with 98 additions and 88 deletions

View File

@ -1,6 +1,4 @@
type: vertical-stack
cards:
- type: picture-elements
type: picture-elements
image: !file /local/images/Bottenvåning.png
elements:
@ -72,26 +70,3 @@ cards:
- type: state-label
entity: sensor.elmatare_0
style: { left: 5%, top: 55% }
- type: custom:popup-card
entity: light.takflakt
title: Takfläkt
card:
type: entities
entities:
- type: custom:slider-entity-row
entity: light.takflakt
name: All
- type: section
- type: custom:slider-entity-row
entity: light.takflakt_1
name: 1
- type: custom:slider-entity-row
entity: light.takflakt_2
name: 2
- type: custom:slider-entity-row
entity: light.takflakt_3
name: 3
- type: custom:slider-entity-row
entity: light.takflakt_4
name: 4

View File

@ -1,5 +1,40 @@
title: Åvägen
resources: !include resources.yaml
background: var(--lovelace-background)
popup_cards:
light.taklampor:
title: Taklampor
card:
type: entities
entities:
- light.lilla_hallen
- light.sovrum
- light.stora_hallen
- light.takflakt
- light.taklampa_koket
- light.taklampa_kontoret
- light.vardagsrum
light.takflakt:
title: Takfläkt
card:
type: entities
entities:
- type: custom:slider-entity-row
entity: light.takflakt
name: All
- type: section
- type: custom:slider-entity-row
entity: light.takflakt_1
name: 1
- type: custom:slider-entity-row
entity: light.takflakt_2
name: 2
- type: custom:slider-entity-row
entity: light.takflakt_3
name: 3
- type: custom:slider-entity-row
entity: light.takflakt_4
name: 4
views:
- !include views/diverse_view.yaml
- !include views/security_view.yaml