Open Shiroe93 opened 2 weeks ago
Are you able to reproduce it without vertical-stack-in-card
card? It looks like it's the same as https://github.com/ofekashery/vertical-stack-in-card/issues/160
i have another almost identical card beside this one that does not have ani issue
`type: custom:vertical-stack-in-card
cards:
type: custom:mushroom-template-card
primary: Playstation
secondary: |-
{% if is_state('switch.ps5_di_shiroe_power_power', 'on') %}
{{ state_attr('sensor.ps5_di_shiroe_activity', 'title_name')
or states('sensor.ps5_di_shiroe_activity')
}}
{%- else -%}
{%- endif -%}
icon: fapro:ps5
entity: switch.playstation
picture: '{{state_attr(''sensor.ps5_di_shiroe_activity'', ''title_image'')}}'
badge_icon: |-
{% if is_state('sensor.ps5_di_shiroe_activity', 'playing') %}
mdi:controller
{%- elif is_state('sensor.ps5_di_shiroe_activity', 'idle') -%}
mdi:sleep
{%- endif -%}
fill_container: true
layout: vertical
tap_action:
action: none
icon_color: >-
{% if is_state('sensor.ps5_di_shiroe_activity', 'none') and
is_state_attr('sensor.ps5_di_shiroe_activity', 'power', 'STANDBY') %}
yellow
{%- elif('sensor.ps5_di_shiroe_activity', 'idle') and
is_state_attr('sensor.ps5_di_shiroe_activity', 'power', 'AWAKE') -%}
deep-purple
{%- else -%} disabled
{%- endif -%} double_tap_action: action: none hold_action: action: toggle card_mod: style: | ha-card { --icon-size: 45px; }
type: horizontal-stack cards:
type: custom:mushroom-chips-card chips:
type: template entity: switch.ps5_di_shiroe_power content_info: none icon: mdi:play-pause icon_color: >- {% if is_state('sensor.ps5_di_shiroe_activity', 'none') and is_state_attr('sensor.ps5_di_shiroe_activity', 'power', 'STANDBY') %} deep-purple {%- elif('sensor.ps5_di_shiroe_activity', 'idle') and is_state_attr('sensor.ps5_di_shiroe_activity', 'power', 'AWAKE') -%} yellow {%- else -%} disabled
{%- endif -%}
tap_action:
action: toggle
alignment: center
`
they are litterally side by side
and the playstation one works fine
Are you able to reproduce it without
vertical-stack-in-card
card? It looks like it's the same as ofekashery/vertical-stack-in-card#160
This may be related to view type when set to Vertical. I had the same issue, but changed view type back to Masonry and it resolved the problem.
what do you mean by view type?
what do you mean by view type?
I have layout-card installed, which adds a few new options for Views. I was using the Vertical view for consistency between desktop and mobile, but switched back to Masonry and my chips reappeared on my cards.
NOTE: I am also using vertical-stack-in-card, but switching back to Masonry resolved the problem for me.
I have the one panel option activated in the layout card but even if that's the case it does not explain why only for the pc card and why only on 2024.7 (I'm sure it wasn't a problem before because i look at this dashboard 6-8 hours every single day)
what do you mean by view type?
I have layout-card installed, which adds a few new options for Views. I was using the Vertical view for consistency between desktop and mobile, but switched back to Masonry and my chips reappeared on my cards.
NOTE: I am also using vertical-stack-in-card, but switching back to Masonry resolved the problem for me.
Hi, I was using vertical layout-card for my view and I no longer have the chips showing up. As you say, by changing to mansonry, the chips appear well. Could it be a vertical layout-card problem then?
what do you mean by view type?
I have layout-card installed, which adds a few new options for Views. I was using the Vertical view for consistency between desktop and mobile, but switched back to Masonry and my chips reappeared on my cards.
NOTE: I am also using vertical-stack-in-card, but switching back to Masonry resolved the problem for me.
This fixed my issue too. Thanks.
I've tried all the view types, but unfortunately the cards don't stay there after a refresh. I still have to reload the page several times
Requirements
Current Behavior
Expected Behavior
Steps To Reproduce
no idea it happens randomly and it's fixed by a refresh
Context
YAML state
Environment
Anything else?
No response