henry8866
(henry)
November 23, 2019, 10:02pm
1
I want to build a card to show multiple cameras with live view and action button to take a picture.
I tried the entities card to list the cameras, it only shows the list of cameras, click it to show the stream.
Seems need to embed multiple picture entity card inside entities card?
Thanks.
lolouk44
(lolouk44)
November 23, 2019, 10:59pm
2
here is an extract from my config.
Is this what you were after?
(Note: I’m using custom:vertical-stack-in-card to remove the border between the top and bottom cards in a vertical stack)
cards:
- !include /config/lovelace_views/persistent_notifications.yaml
- !include /config/lovelace_views/alert_card.yaml
- type: custom:vertical-stack-in-card
cards:
- type: picture-entity
title: Front
entity: camera.front
camera_image: camera.front
show_name: false
show_state: false
- type: entities
title: Front
show_header_toggle: false
entities:
- entity: binary_sensor.front_cctv_motion
secondary_info: last-changed
- entity: binary_sensor.front_cctv_line_crossing
secondary_info: last-changed
- entity: binary_sensor.front_cctv_disk_full
secondary_info: last-changed
- entity: binary_sensor.front_cctv_disk_error
secondary_info: last-changed
- type: custom:vertical-stack-in-card
cards:
- type: picture-entity
title: Side
entity: camera.side
camera_image: camera.side
show_name: false
show_state: false
- type: entities
title: Side
show_header_toggle: false
entities:
- entity: binary_sensor.side_cctv_motion
secondary_info: last-changed
- entity: binary_sensor.side_cctv_line_crossing
secondary_info: last-changed
- entity: binary_sensor.side_cctv_disk_full
secondary_info: last-changed
- entity: binary_sensor.side_cctv_disk_error
secondary_info: last-changed
aidbish
(Adrian)
November 23, 2019, 11:05pm
3
There is a custom card that shows cameras in a surveillance style layout
henry8866
(henry)
November 24, 2019, 9:38pm
4
thank you. will try them out.