similar experience here, gotten worse in latest HA release in my config slowing down all Safari browsers on the Mac, and iOS app a bit less but still very noticeably .
My final finding was it being caused by a combination of horizontal-stack of 7 custom:button-cards, which was contained in a vertical-stack together with another button-card.
type: vertical-stack
cards:
- type: custom:button-card
- type: horizontal-stack
cards:
- type: custom:button-card
- type: custom:button-card
- type: custom:button-card
- type: custom:button-card
- type: custom:button-card
- type: custom:button-card
- type: custom:button-card
Since I have this as a menu bar on each and every view, my whole Frontend was slowed down upon changing dashboards / reloading. Making it practically unusable and made me go to Firefox or Chrome, which dont suffer the same (any really) delay.
DuckDuckGo suffers the same, as its the same browser in the backend...
for now I have changed the horizontal-stack with the button cards to use grid of column: 7 and that seems to do a much better job.
type: vertical-stack
cards:
- type: custom:button-card
- type: grid
columns: 7
square: false
cards:
- type: custom:button-card
- type: custom:button-card
- type: custom:button-card
- type: custom:button-card
- type: custom:button-card
- type: custom:button-card
- type: custom:button-card
or with an additional visibilty condition
type: vertical-stack
cards:
- !include /config/dashboard/includes/include_show_view_header_title.yaml
- type: vertical-stack
visibility:
- condition: state
entity: input_boolean.menu_in_footer
state: 'off'
cards:
- !include /config/dashboard/buttons/buttons_dashboards.yaml
Apparently, the stacks are lazily loaded, while the grid card is not.
Its still not perfect, but its much better.
taking the button-card out completely solves the issue, so its 100% a combination of the 2 horizontal-stack using custom:button-card. Underlying button-card configurations dont really matter.
fwiw, the same menubar stack card as a footer in the view does Not cause the issue.