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

[Bug]: Unable to resize mushroom-template-card #1621

Open
3 tasks done
skawsk opened this issue Jan 7, 2025 · 2 comments
Open
3 tasks done

[Bug]: Unable to resize mushroom-template-card #1621

skawsk opened this issue Jan 7, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@skawsk
Copy link

skawsk commented Jan 7, 2025

Requirements

  • I checked the troubleshooting section in the README to verify that I have the latest Mushroom version.
  • I did a search to see if there is a similar issue or if a pull request is open.
  • I have read the state of card mod support (in pin issues) and understand card mod support is not provided in this repository.

Current Behavior

Currently it is impossible for me to resize a mushroom-template-card

image

Expected Behavior

No response

Steps To Reproduce

No response

Context

YAML state
``
`type: horizontal-stack
cards:

  • type: custom:vertical-stack-in-card
    cards:
    • type: custom:mushroom-template-card
      primary: Chambre
      secondary: |-
      {{ states('sensor.capteur_temp_chambre_temperature')
      }}°C -
      {{ states('sensor.capteur_temp_chambre_humidity')
      }}%
      icon: mdi:bed-double
      entity: light.ampoule_couloir_chambre
      hold_action:
      action: toggle
      icon_color: |-
      {% if is_state('light.ampoule_couloir_chambre', 'on') %}
      orange
      {% endif %}
      tap_action:
      action: navigate
      navigation_path: /dashboard-mushroom/chambre
      multiline_secondary: false
      double_tap_action:
      action: toggle
      card_mod: null
    • type: custom:mushroom-chips-card
      chips:
      • type: conditional
        conditions:
        • condition: state
          entity: climate.heatzy_chambre
          state: heat
          chip:
          type: action
          tap_action:
          action: perform-action
          perform_action: automation.trigger
          target:
          entity_id: >-
          automation.desactiver_chauffage_chambre_quand_la_temperature_est_superieur_a_17_degres
          data:
          skip_condition: true
          icon: mdi:radiator
          icon_color: red
      • type: conditional
        conditions:
        • condition: state
          entity: climate.heatzy_chambre
          state: "off"
          chip:
          type: action
          tap_action:
          action: perform-action
          perform_action: automation.trigger
          data:
          skip_condition: true
          target:
          entity_id: >-
          automation.activer_chauffage_chambre_quand_la_temperature_est_inferieur_a_17_degres
          icon_color: green
          icon: mdi:radiator-off
          alignment: end
          card_mod:
          style: |
          ha-card {
          padding-right: 10px;
          padding-left: 10px;
          padding-bottom: 5px;
          }
  • type: custom:vertical-stack-in-card
    cards:
    • type: custom:mushroom-template-card
      primary: Entrée
      secondary: |-
      {{ states('sensor.capteur_temp_entree_cuisine_temperature')
      }}°C -
      {{ states('sensor.capteur_temp_entree_cuisine_humidity')
      }}%
      icon: mdi:coat-rack
      entity: light.lampe_entree_cuisine
      hold_action:
      action: toggle
      icon_color: |-
      {% if is_state('light.lampe_entree_cuisine', 'on') %}
      orange
      {% endif %}
      tap_action:
      action: navigate
      navigation_path: /dashboard-mushroom/entree
      multiline_secondary: false
      double_tap_action:
      action: toggle
      card_mod:
      style: |
      ha-card {
      height: 2000px !important;
      width: 2000px;
      padding-right: 150px !important;
      padding-left: 150px !important;
      padding-bottom: 30px !important;
      padding-top: 30px !important;
      }
      `


### Environment

```markdown
- Browser: Chrome
- HA Version: 2025.1.0
- Mushroom: 4.2.1

Anything else?

No response

@skawsk skawsk added the bug Something isn't working label Jan 7, 2025
@Sn00kiT
Copy link

Sn00kiT commented Jan 7, 2025

Same here. Happens since 2025 HA Update

@DaTTcz
Copy link

DaTTcz commented Jan 24, 2025

For me too, same problem after HA 2025 update. Reverting to previous versions of Mushroom and Card mod won't change anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants