Skip to content

[Bug]: 3.5.0 - Attribute 'size' can still show the image outside the card #1272

@vingerha

Description

@vingerha

Own Analysis

  • I cannot find my issue in the documentation
  • The issue is unique, there is no other existing issue that covers this, neither open nor closed
  • I have examined the release notes of the version installed for possible breaking changes
  • For the compass-card, I updated to the latest version available
  • For Home Assistant, I am latest / recent versionm if not...specify in the case
  • I cleared the cache of my browser

A clear and concise description of what the issue is.

With 3.5.0 'size' is also a factor for the overall scaling of the card.
However, with a sufficiently large size and radius, the very end of this image can still go beyond the card's limit, specifcally when it 'points' due South

Add below a minimal (!) version of the yaml for reproduction

type: custom:compass-card
header:
  title:
    value: Sun
indicator_sensors:
  - sensor: sun.sun
    attribute: azimuth
    state_abbreviation:
      show: false
    indicator:
      image: arrow_outward
      size: 121
      radius: 132
compass:
  circle:
    color: lightblue
    show: false
  ticks:
    show: true
    color: red
    radius: 52
  north:
    show: true
    offset: 320
  east:
    show: true
  west:
    show: true
  south:
    show: true

Relevant screenshots

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions