Closed ayostepht closed 3 months ago
Hi! This issue is already fixed on my side, I will release a new version as soon as possible!
Appreciate all you do, thank you!!!!
Hi Clooos, THanks for the awesome UI! Any progress on this issue? I am seeing pretty much the same thing
Hi! I can't be sure but I hope that the next release will fix that, the HBS code has been improved a lot!
This is fixed in the v2 beta!
Here is the link to the full changelog: https://github.com/Clooos/Bubble-Card/releases/tag/v2.0.0-beta.1
Running Bubble-Card 1.7.3 Seeing issue on both IOS companion app & desktop (using chrome)
For some time, occassionally all of the icons in my horizontal button stack would shift and end up stacked on top of each other. It always resolved itself with a refresh of the screen. However, since updating to 1.7.3 (I was on 1.6.2 I believe prior), they appear stacked on top of eachother and no amount of cache clearing or screen refreshing is fixing the issue.
Thanks for all your work on this!!!!
Card YAML
type: custom:bubble-card card_type: horizontal-buttons-stack auto_order: true 1_icon: mdi:bird 1_link: '#frigate' 2_icon: mdi:remote-tv 2_link: '#remote' 2_entity: media_player.shield 3_icon: mdi:speaker-multiple 3_link: '#music' 3_entity: media_player.spotify_steph_tanner 4_link: '#fiona' 4_icon: mdi:cat 5_link: '#printer' 5_icon: mdi:printer-3d-nozzle rise_animation: false highlight_current_view: true
Full Dashboard YAML `title: Home views:
title: Home path: living Room type: custom:vertical-layout theme: Bubble cards:
${states['sensor.timeclean'].state}
]]] day: | [[[ return${states['sensor.dayoftheweek'].state}
]]] date: | [[[ return${states['sensor.date'].state}
]]]type: horizontal-stack cards:
type: custom:button-card battery: sensor.steph_battery_level home_sensor: sensor.steph_to_home name: Steph entity: person.steph show_name: false show_state: false show_label: false show_icon: false show_last_changed: false show_entity_picture: true size: 100% styles: card:
border-radius: 100% custom_fields: battery:
font-size: 10px custom_fields: battery: | [[[ var i = states['sensor.steph_battery_level'].attributes.icon; var b = states['sensor.steph_battery_level'].state; return
<span style='vertical-align: 1px'></span><ha-icon icon='${i}' style='width: 16px; vertical-align:2px'></ha-icon>${b}%
]]] home: | [[[ var homeState = states['person.steph'].state; var activityState = states['sensor.steph_activity'].state; var travelTime = states['sensor.steph_to_home'].state;if (homeState == 'home') { return
<ha-icon icon="mdi:home" style="width: 16px; height: 16px; vertical-align: 1px"></ha-icon> Home
; } else { var icon = activityState == 'Automotive' ? "mdi:car" : "mdi:home-import-outline"; return<ha-icon icon="${icon}" style="width: 16px; height: 16px; vertical-align: 1px"></ha-icon>${travelTime} min away
; } ]]] music: | [[[ if (states['media_player.spotify_steph_tanner'].state == 'playing') return<ha-icon icon="mdi:volume-high" style="width: 16px; height: 16px; vertical-align: 1px"> </ha-icon>${ states['media_player.spotify_steph_tanner'].attributes.media_title } - ${ states['media_player.spotify_steph_tanner'].attributes.media_artist }
else return
<ha-icon icon="mdi:volume-mute" style="width: 16px; height: 16px; vertical-align: 1px"> </ha-icon>
]]] card_mod: style: | ha-card { --ha-card-background: transparent; }type: custom:button-card entity: person.laura show_name: false show_state: false show_label: false show_icon: false show_last_changed: false show_entity_picture: true size: 100% styles: card:
border-radius: 100% custom_fields: battery:
font-size: 10px custom_fields: battery: | [[[ var i = states['sensor.game_day_battery_level'].attributes.icon; var b = states['sensor.game_day_battery_level'].state; return
<span style='vertical-align: 1px'></span><ha-icon icon='${i}' style='width: 16px; vertical-align:2px'></ha-icon>${b}%
]]] home: | [[[ var homeState = states['person.laura'].state; var activityState = states['sensor.game_day_activity'].state; var travelTime = states['sensor.laura_to_home'].state;if (homeState == 'home') { return
<ha-icon icon="mdi:home" style="width: 16px; height: 16px; vertical-align: 1px"></ha-icon> Home
; } if (homeState == 'Patient Point') { return<ha-icon icon="mdi:desk" style="width: 16px; height: 16px; vertical-align: 1px"></ha-icon> Patient Point
; } else { var icon = activityState == 'Automotive' ? "mdi:car" : "mdi:home-import-outline"; return<ha-icon icon="${icon}" style="width: 16px; height: 16px; vertical-align: 1px"></ha-icon>${travelTime} min away
; } ]]] music: | [[[ if (states['media_player.spotify_laurasmilton'].state == 'playing') return<ha-icon icon="mdi:volume-high" style="width: 16px; height: 16px; vertical-align: 1px"> </ha-icon>${ states['media_player.spotify_laurasmilton'].attributes.media_title } - ${ states['media_player.spotify_laurasmilton'].attributes.media_artist }
else return
<ha-icon icon="mdi:volume-mute" style="width: 16px; height: 16px; vertical-align: 1px"> </ha-icon>
]]] card_mod: style: | ha-card { --ha-card-background: transparent; }