building the above Buienradar stack, I am experimenting with a camera view at the bottom:
type: custom:stack-in-card
cards:
- type: entities
header:
type: picture
image: /local/images/buienradar_banner.png
tap_action:
action: url
url_path: https://www.buienradar.nl
- type: etc etc etc
- type: entities
title: Buienradar details
show_header_toggle: false
entities:
- type: custom:fold-entity-row
head:
type: section
label: Temp & condition
entities:
- sensor.br_temperature
- sensor.br_etcetc
- type: custom:fold-entity-row
head:
type: section
label: Barometer
entities:
- sensor.br_precipitation
- etcetc
- type: custom:hui-picture-glance-card
entities: []
style: |
ha-card {
box-shadow: none;
background-size: cover;
border-radius: 0px 0px 0px 0px;
}
camera_image: camera.buienradar
Ive used all known to me styles to have the camera_image use the full width of the stack, but it remains like this:
while solo, it shows like a nice full size camera:
can I style it further to use the full size of the stack?
thanks for having a look!
update
apparently I had my nesting of the cards wrong. This seems to be working without any styling:
type: custom:stack-in-card
cards:
- type: entities
header:
type: picture
image: /local/images/buienradar_banner.png
tap_action:
action: url
url_path: https://www.buienradar.nl
- type: glance
entities:
- entity: sensor.br_feel_temperature
name: Apparent
- sensor.br_wind_force
- sensor.br_condition
- type: custom:fold-entity-row
head:
type: section
label: Temp & condition
entities:
- sensor.br_temperature
- sensor.br_ground_temperature
- sensor.br_condition_code
- sensor.br_detailed_condition
- sensor.br_full_condition
- sensor.br_symbol
- sensor.br_wind_direction
- sensor.br_wind_direction_azimuth
- sensor.br_wind_force
- sensor.br_wind_gust
- sensor.br_wind_speed
- type: custom:fold-entity-row
head:
type: section
label: Barometer
entities:
- sensor.br_precipitation
- sensor.br_precipitation_forecast_average
- sensor.br_precipitation_forecast_total
- sensor.br_humidity
- sensor.br_pressure
- sensor.br_barometer
- sensor.br_barometer_value
- sensor.br_stationname
- sensor.br_visibility
- type: custom:hui-picture-glance-card
entities: []
camera_image: camera.buienradar
nice!
though now the states in the fold-entity-rows are too close to the edge of the card⊠always somethingâŠ
which is rather surprising because using the fold-entity-row in an entitities card shows correctly:
using keep_margin: true
on the stack-card makes the fold-entity-rows appear better, but then the bottom camera again has all margins set like before.
And the keep_margin on the fold-entity-rows doesnât work, because they are no âcardsâ but 'rowâs?
so whatâs to do?