lovelace - Camera card for office

This commit is contained in:
Thomas Lovén 2019-01-13 01:27:31 +01:00
parent 9dca6af9e7
commit f922139542
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,39 @@
type: picture-elements
image: /local/images/placeholder-800x600.png
elements:
- type: image
camera_image: camera.kontor
style:
left: 50%
top: 50%
height: 100%
width: 100%
- type: icon
icon: no:icon
tap_action:
action: none
style:
left: 50%
top: 0%
height: 100px
width: 100%
background: rgba(0,0,0,0.5)
- type: state-icon
entity: light.taklampa_kontoret
icon: no:icon
tap_action:
action: toggle
style:
left: 50px
top: 25px
- type: state-icon
entity: light.skrivbordslampa_1
icon: no:icon
tap_action:
action: toggle
style:
left: 150px
top: 25px

View File

@ -14,6 +14,7 @@ views:
- !include floorplan.yaml - !include floorplan.yaml
- !include coffee_card.yaml - !include coffee_card.yaml
- !include cameras/barnrum.yaml - !include cameras/barnrum.yaml
- !include cameras/kontor.yaml
{{ dev_card }} {{ dev_card }}
- title: Floorplan - title: Floorplan