Horizontal buttons stack bubble card width #1195
Answered
by
flth1968
flth1968
asked this question in
Questions about config, custom styles and templates
-
GoalBubble cards in a horizontal button stack with different widths, card 1 70% and card 2 30% of the width Source Yamltype: horizontal-stack
cards:
- type: custom:bubble-card
card_type: select
card_layout: large-2-rows
entity: input_select.modes
sub_button:
- entity: device_tracker.flemming_iphone
show_state: false
show_icon: true
name: ""
icon: mdi:human-male
show_name: false
- entity: device_tracker.heidi_iphone
icon: mdi:human-female
show_arrow: false
show_icon: true
show_icon: false
show_name: false
show_state: true
- type: custom:bubble-card
card_type: button
button_type: state
entity: sensor.energi_data_service
card_layout: large-2-rows Which step did you already try?type: horizontal-stack
cards:
- type: custom:mod-card
card:
type: custom:bubble-card
entity: sensor.temperature
name: Temperatur
style: |
ha-card {
width: 70%;
}
- type: custom:mod-card
card:
type: custom:bubble-card
entity: sensor.humidity
name: Fugtighed
style: |
ha-card {
width: 30%;
} ProblemNo response Read the documentation
|
Beta Was this translation helpful? Give feedback.
Answered by
flth1968
Jan 29, 2025
Replies: 2 comments 4 replies
-
Try in this way:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Restart and now it working