home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
3.99k stars 2.72k forks source link

UI cards not show until enter edit mode #21316

Open dolenec opened 3 months ago

dolenec commented 3 months ago

Checklist

Describe the issue you are experiencing

Some cards on UI do not show until entered to edit mode. After that missing card in UI show just fine until.

The same type of card under other tab showing fine.

Completly same behave is via Chrome and via app UI.

SmartSelect_20240706_042842_Home Assistant

SmartSelect_20240706_042859_Home Assistant

SmartSelect_20240706_042910_Home Assistant

SmartSelect_20240706_043017_Home Assistant

Describe the behavior you expected

Cards on UI should be there allways..

Steps to reproduce the issue

  1. After I open browser error is the same.
  2. After I reopen apo error is the same.

What version of Home Assistant Core has the issue?

2024.7.1

What was the last working version of Home Assistant Core?

2024.6.4

In which browser are you experiencing the issue with?

Google Chrome, Android App

Which operating system are you using to run this browser?

Android, Windows

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

dolenec commented 3 months ago

Entity code:

entities:
  - type: custom:mushroom-light-card
    entity: light.shellyrgbw2_hodnik
    use_light_color: true
    show_brightness_control: true
    show_color_temp_control: true
    show_color_control: true
    collapsible_controls: false
    double_tap_action:
      action: more-info
    hold_action:
      action: more-info
  - entity: sensor.shellyrgbw2_hodnik_power
    name: Trenutna poraba
  - entity: sensor.shellyrgbw2_hodnik_energy
    name: Skupaj poraba
  - colors:
      - brightness: 1
        effect: 0
        icon_color: '#c0c0c0'
        rgbw_color:
          - 255
          - 255
          - 255
          - 220
        transition: 1
      - brightness: 220
        effect: 0
        icon_color: '#990000'
        rgbw_color:
          - 255
          - 0
          - 0
          - 0
        transition: 1
      - brightness: 220
        effect: 0
        icon_color: '#009900'
        rgbw_color:
          - 0
          - 255
          - 0
          - 0
        transition: 1
      - brightness: 220
        effect: 0
        icon_color: '#999900'
        rgbw_color:
          - 255
          - 255
          - 0
          - 0
        transition: 1
      - brightness: 220
        effect: 0
        icon_color: '#009999'
        rgbw_color:
          - 0
          - 255
          - 255
          - 0
        transition: 1
      - brightness: 1
        effect: 0
        icon_color: center/100% url('/local/images/night_mode.png')
        transition: 1
        rgbw_color:
          - 0
          - 0
          - 0
          - 3
    entity: light.shellyrgbw2_hodnik
    justify: between
    type: custom:rgb-light-card
show_header_toggle: false
type: entities
state_color: false
ildar170975 commented 2 months ago

https://github.com/home-assistant/frontend/issues/17266

dolenec commented 2 months ago

Prpbably not the same error as custom cards do not display until entered Edit mode, but allways visible after exit of Edit mode. But.maybe it is.. but no news regarding that. Error started on 2024.7.x.