Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on core 2024.7.0. #160

Open
WarC0zes opened this issue Jul 4, 2024 · 5 comments
Open

Not working on core 2024.7.0. #160

WarC0zes opened this issue Jul 4, 2024 · 5 comments
Labels
Waiting for user response I/We can not make further progress on this issue until the original reporter responds.

Comments

@WarC0zes
Copy link

WarC0zes commented Jul 4, 2024

Hi
since the core update 2024.7.0, I no longer see mushroom chips. if I change vertical-stack-in-card to vertical-stack or stack-in-card the mushroom chips show fine.
image

image

  - type: custom:vertical-stack-in-card
    cards:
      - type: custom:mushroom-template-card
        entity: binary_sensor.0x00158d0007bef2b5_occupancy
        icon: phu:rooms-hallway
        icon_color: |
          {% if is_state(entity, 'on') %}
            yellow
          {% else %}  
            grey
          {% endif %}
        primary: ENTRÉE
        secondary: >-
          AV:🌡{{
          states("sensor.temperature_humidity_sensor_exterieur_av_temperature")
          |round(1)}}°C / 💧{{
          states("sensor.temperature_humidity_sensor_exterieur_av_humidity")
          |round(0)}}%

          AR:🌡{{ states("sensor.lywsd03mmc_c948_temperature") |round(1)}}°C /
          💧{{ states("sensor.lywsd03mmc_c948_humidity") |round(0)}}%
        layout: horizontal
        tap_action:
          action: more-info
        double_tap_action:
          action: none
        hold_action:
          action: none
        badge_icon: |
          {% if is_state('binary_sensor.0x00158d0007bef2b5_occupancy', 'on') %}
            mdi:motion-sensor
          {% else %}  
            mdi:motion-sensor-off
          {% endif %}
        badge_color: |
          {% if is_state('binary_sensor.0x00158d0007bef2b5_occupancy', 'on') %}
            red
          {% else %}  
            green
          {% endif %}
        multiline_secondary: true
      - type: custom:mushroom-chips-card
        chips:
          - type: template
            entity: binary_sensor.0x00158d0008074924_contact
            icon: |-
              {% if is_state(entity, 'on') %}
                phu:double-window-open
              {% else %}  
                phu:double-window-closed
              {% endif %}
            icon_color: |-
              {% if is_state(entity, 'on') %} 
                red
              {% else %}
               green
              {% endif %}  
            tap_action:
              action: more-info
            double_tap_action:
              action: none
            hold_action:
              action: none
          - type: template
            entity: binary_sensor.0x00158d0007ef4edc_contact
            icon: |
              {% if is_state(entity, 'on') %}
                phu:panel-door-open
              {% else %}  
                phu:panel-door-close
              {% endif %}
            icon_color: |-
              {% if is_state(entity, 'on') %} 
                red
              {% else %}
               green
              {% endif %}  
            tap_action:
              action: more-info
            double_tap_action:
              action: none
            hold_action:
              action: none
          - type: template
            entity: light.lumieres_entree
            tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  right_button: Fermer
                  right_button_action:
                    service: browser_mod.close_popup
                    data:
                      browser_id: THIS
                  size: normal
                  style: |-
                    --popup-min-width: 690px;
                    --popup-max-width: 720px;
                    --popup-border-radius: 15px;                    
                  title: Lumières Entrée
                  content:
                    type: vertical-stack
                    cards:
                      - type: custom:mushroom-light-card
                        entity: light.0x00158d000775154a
                        name: Extérieur
                        use_light_color: true
                        show_brightness_control: true
                        show_color_temp_control: true
                        show_color_control: false
                        collapsible_controls: true
                      - type: custom:mushroom-light-card
                        entity: light.lumieres_entree
                        name: Entrée
                        use_light_color: true
                        show_brightness_control: true
                        show_color_temp_control: true
                        show_color_control: false
                        collapsible_controls: true
            icon: mdi:lightbulb
            hold_action:
              action: toggle
            icon_color: |-
              {% if is_state(entity, 'on') %} 
               yellow
              {% else %}
               grey
              {% endif %}
        alignment: end
        card_mod:
          class: class_padding

With grid or vertical-stack in first , vertical-stack-in-card not working.

@regnighc
Copy link

regnighc commented Jul 5, 2024

same issue, updated last night to 2024.7.0 and vertical-stack-in-card doesnt show up in the dashboard.
Update: If I keep refreshing the page it eventually shows up. I'm stacking, 3 entities values and a mini graph. Sometimes only the graph shows up on its own too.

@WarC0zes
Copy link
Author

WarC0zes commented Jul 5, 2024

It was actually a frontend problem. With core 2024.7.1, I have no more problems.
image

EDIT:
In fact, I still have the bug, I had modified some code before Update 2024.7.0.

@WarC0zes WarC0zes closed this as completed Jul 5, 2024
@WarC0zes WarC0zes reopened this Jul 6, 2024
@WarC0zes
Copy link
Author

WarC0zes commented Jul 6, 2024

image

type: grid
square: false
columns: 1
cards:
  - type: custom:vertical-stack-in-card
    cards:
      - type: custom:mushroom-template-card
        entity: binary_sensor.0x00158d0007bef2b5_occupancy
        icon: phu:rooms-hallway
        icon_color: |
          {% if is_state(entity, 'on') %}
            yellow
          {% else %}  
            grey
          {% endif %}
        primary: ENTRÉE
        secondary: >-
          🌡{{
          states("sensor.temperature_humidity_sensor_exterieur_av_temperature")
          |round(1)}}°C / 💧{{
          states("sensor.temperature_humidity_sensor_exterieur_av_humidity")
          |round(0)}}%
        layout: horizontal
        tap_action:
          action: more-info
        double_tap_action:
          action: none
        hold_action:
          action: none
        badge_icon: |
          {% if is_state('binary_sensor.0x00158d0007bef2b5_occupancy', 'on') %}
            mdi:motion-sensor
          {% else %}  
            mdi:motion-sensor-off
          {% endif %}
        badge_color: |
          {% if is_state('binary_sensor.0x00158d0007bef2b5_occupancy', 'on') %}
            red
          {% else %}  
            green
          {% endif %}
        multiline_secondary: true
      - type: custom:mushroom-chips-card
        chips:
          - type: template
            entity: binary_sensor.0x00158d0008074924_contact
            icon: |-
              {% if is_state(entity, 'on') %}
                phu:double-window-open
              {% else %}  
                phu:double-window-closed
              {% endif %}
            icon_color: |-
              {% if is_state(entity, 'on') %} 
                red
              {% else %}
               green
              {% endif %}  
            tap_action:
              action: more-info
            double_tap_action:
              action: none
            hold_action:
              action: none
          - type: template
            entity: binary_sensor.0x00158d0007ef4edc_contact
            icon: |
              {% if is_state(entity, 'on') %}
                phu:panel-door-open
              {% else %}  
                phu:panel-door-close
              {% endif %}
            icon_color: |-
              {% if is_state(entity, 'on') %} 
                red
              {% else %}
               green
              {% endif %}  
            tap_action:
              action: more-info
            double_tap_action:
              action: none
            hold_action:
              action: none
          - type: template
            entity: light.lumieres_entree
            tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  right_button: Fermer
                  right_button_action:
                    service: browser_mod.close_popup
                    data:
                      browser_id: THIS
                  size: normal
                  style: |-
                    --popup-min-width: 690px;
                    --popup-max-width: 720px;
                    --popup-border-radius: 15px;                    
                  title: Lumières Entrée
                  content:
                    type: vertical-stack
                    cards:
                      - type: custom:mushroom-light-card
                        entity: light.0x00158d000775154a
                        name: Extérieur
                        use_light_color: true
                        show_brightness_control: true
                        show_color_temp_control: true
                        show_color_control: false
                        collapsible_controls: true
                      - type: custom:mushroom-light-card
                        entity: light.lumieres_entree
                        name: Entrée
                        use_light_color: true
                        show_brightness_control: true
                        show_color_temp_control: true
                        show_color_control: false
                        collapsible_controls: true
            icon: mdi:lightbulb
            hold_action:
              action: toggle
            icon_color: |-
              {% if is_state(entity, 'on') %} 
               yellow
              {% else %}
               grey
              {% endif %}
        alignment: end
        card_mod:
          class: class_padding

the chips are not displayed
image

Same:

type: vertical-stack
cards:
  - type: custom:vertical-stack-in-card
    cards:
      - type: custom:mushroom-template-card
        entity: binary_sensor.0x00158d0007bef2b5_occupancy
        icon: phu:rooms-hallway
        ...

@majdzik84
Copy link

@ofekashery Is there a chance to fix this?

@ofekashery
Copy link
Owner

Hi @majdzik84, can you share more details? Reproduce steps, HA version, Chrome version, VSIC version, installation method, relevant console logs and such.

@ofekashery ofekashery added the Waiting for user response I/We can not make further progress on this issue until the original reporter responds. label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for user response I/We can not make further progress on this issue until the original reporter responds.
Projects
None yet
Development

No branches or pull requests

4 participants