Skip to content

[Bug]: Card not rendering correctly with xlarge bar and icon hidden #133

Description

@Ascathon

Requirements

  • I checked the README.
  • I have updated entity-progress-card to the latest available version.
  • I did a search to see if there is a similar issue.

Current Behavior

Maybe I'm missing something related to 1.6.0 but I don't have many options set. Usually with the bar set to xlarge it would be the same size as the regular tile cards around the progress card.
Now it is way to small to render xlarge.
Image

Now typing this issue I discovered it may be because of hiding the icon.

Without icon
Image
With icon
Image

Then it looks like the others but I prefer the icon hidden.
Image

Expected Behavior

No response

Steps To Reproduce

Make card with icon hidden.
Set bar to xlarge.

Card Configuration (YAML)

type: custom:entity-progress-card
entity: sensor.zonneplan_last_measured_value
decimal: 0
max_value: 3200
bar_size: xlarge
layout: horizontal
name: Zonnepanelen
bar_color: accent
hide:
  - icon

Context

Environment

- Browser: Firefox 153.0.1
- HA Version: 2026.7.4
- Entity Progress Card: 1.6.0

Anything else?

No response

Metadata

Metadata

Labels

RCImplemented and shipped in a RC.bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions