Frontend all of a sudden slow

Hello,

Can’t exactly say when but all of a sudden it takes a couple seconds to load the interface, up from almost instantly. Also my custom cards flashes an error message, evertime I launch home assistant, but loads fine. Both on the computer and on my phone. Anyone have experienced something similar?

1 Like

yes. and 6.3 version resolves that.
I had some dashboards with guages that didnt show values and drove me crazy. Found a bug in git that explained behaviour and the new release from yesterday resolved it for me Update frontend to 20250531.4 by bramkragten · Pull Request #147414 · home-assistant/core · GitHub

Thanks - I still have the same problem. I think i will have to start to uninstall integrations and see if I can find the one slowing my system down. Just wish there was a way to diagnose…

Your issue most likely stems from those config errors. What specific cards are producing those errors? Providing code for those specific cards may help expedite a resolution.

I have a feeling since 8.x the frontend behavior has changed again .
Not as bad as mentioned here before, but definitely some different code causing some slowness and on some devices cards that occasionally don’t work

Hi, so right now there is a brief flash of “configuration error” then the actual card is presented. This is one example of a card flashing - I cant really see any unusual:

type: custom:mushroom-chips-card
chips:
  - type: alarm-control-panel
    entity: alarm_control_panel.8124_aaa_zone_1_alarm
  - type: conditional
    conditions:
      - entity: sensor.erik_s_2nd_sonos_one_next_timer
        state_not: unknown
      - entity: sensor.erik_s_2nd_sonos_one_next_timer
        state_not: unavailable
    chip:
      type: entity
      entity: sensor.erik_s_2nd_sonos_one_next_timer
      tap_action:
        action: call-service
        service: script.stop_timer
        service_data: {}
        target: {}
      use_entity_picture: false
      icon_color: deep-purple
  - type: entity
    entity: sensor.nordpool_mwh_se3_eur_2_10_0
    tap_action:
      action: call-service
      service: script.toggle_power_card
      data: {}
      target: {}
  - type: weather
    entity: weather.forecast_home
    show_conditions: false
    show_temperature: true
    tap_action:
      action: navigate
      navigation_path: /lovelace/weather
  - type: conditional
    conditions:
      - condition: state
        entity: schedule.morning_button_helper
        state: "on"
    chip:
      type: template
      tap_action:
        action: perform-action
        perform_action: script.good_morning_script
        target: {}
      icon: mdi:bread-slice
      icon_color: orange
      content: Good morning
  - type: conditional
    conditions:
      - condition: state
        entity: schedule.morning_button_helper
        state: "off"
    chip:
      type: template
      tap_action:
        action: perform-action
        perform_action: script.good_evening_light
        target: {}
      icon: mdi:weather-night
      content: Good evening
  - type: action
    icon_color: indigo
    tap_action:
      action: navigate
      navigation_path: /lovelace/kodi_remote
    icon: mdi:kodi
  - type: action
    icon_color: light-grey
    tap_action:
      action: navigate
      navigation_path: /lovelace/tv_remote
    icon: mdi:remote
  - type: action
    icon_color: green
    tap_action:
      action: call-service
      service: script.new_script
      data: {}
      target: {}
    icon: mdi:food
  - type: template
    icon: mdi:cellphone-marker
    icon_color: teal
    content: ""
    tap_action:
      action: call-service
      service: script.f
      service_data: {}
      target: {}
  - type: template
    icon: mdi:awning-outline
    icon_color: blue
    tap_action:
      action: call-service
      service: script.toggle_awning_control
      data: {}
      target: {}
  - type: entity
    entity: sensor.count_lights_on
    icon_color: amber
    icon: mdi:lightbulb-group-off
    tap_action:
      action: call-service
      service: script.all_lights_off
      data: {}
      target: {}
    use_entity_picture: false
  - type: template
    icon: mdi:cart-arrow-down
    icon_color: grey
    tap_action:
      action: navigate
      navigation_path: /todo
  - type: entity
    entity: sensor.monthly_net_consumption
    icon_color: amber
    tap_action:
      action: navigate
      navigation_path: /energy
  - type: entity
    entity: sensor.omx_2
    content_info: state
    icon: ""
  - type: conditional
    conditions:
      - entity: input_boolean.tradgardsavfall
        state: "on"
    chip:
      type: template
      icon: mdi:trash-can
      icon_color: green
      tap_action:
        action: call-service
        service: input_boolean.turn_off
        target:
          entity_id: input_boolean.tradgardsavfall
        data: {}
  - type: conditional
    conditions:
      - condition: state
        entity: sensor.dishwasher_programme_finish_time
        state_not: unavailable
    chip:
      type: entity
      entity: sensor.dishwasher_programme_finish_time
      icon: mdi:dishwasher
alignment: center

Also, the last part of this card - the hourly part flashes:

type: custom:vertical-stack-in-card
cards:
  - show_current: true
    show_forecast: true
    type: weather-forecast
    entity: weather.forecast_home
    forecast_type: daily
    secondary_info_attribute: humidity
    name: ""
  - type: custom:hourly-weather
    entity: weather.forecast_home
    icons: true
    num_segments: "16"
    show_precipitation_amounts: true
    name: null

I’d suggest disabling - type: custom:hourly-weather temporarily and see if the response time improves. Major changes were made to Weather in HA. I’ look at the code for this card, but my gut tells me it is polling a lot.

Check out this link :arrow_down: for obtaining hourly weather info.

Details about this start with section Action weather.get_forecasts

I tried to remove the card and delete the hourly integration, but a couple of the other custom cards still flashes… I just wish there was a way to diagnose…

If you use chrome, press F12 and look for any errors there

This is really bugging me. I’ve tracked down all the errors and corrected them via Chrome dev console. Tried to disable integrations, addons nothing has any impact…