Hello,
right now, I´m using this setup to display sunrise and sunset. Is it possible to display both sensors in 1 card to save space? (Like a veritcal stack, but without free space between the sensors)
Thank you!
My code
cards:
- color: 'rgb(223, 255, 255)'
color_type: label-card
name: wetter
styles:
card:
- height: 15px
tap_action:
action: none
type: 'custom:button-card'
- cards:
- entity: sensor.time
layout: name_state
name: ' '
show_name: false
show_icon: false
show_state: true
styles:
card:
- height: 100px
- font-size: 40px
type: 'custom:button-card'
- entity: sensor.next_sunrise
layout: icon_state
name: ' '
show_name: false
show_state: true
styles:
card:
- height: 100px
- font-size: 20px
icon:
- width: 60%
type: 'custom:button-card'
- entity: sensor.next_sunset
layout: icon_state
name: ' '
show_name: false
show_state: true
styles:
card:
- height: 100px
- font-size: 20px
icon:
- width: 60%
type: 'custom:button-card'
type: horizontal-stack
- cards:
- type: weather-forecast
entity: weather.dark_sky
show_forecast: true
secondary_info_attribute: wind_speed
type: vertical-stack
type: vertical-stack