Skip to content

align_icon + show.name interaction #1318

@ndrwrbgs

Description

@ndrwrbgs

Issue

When show.name is false, align_icon: right is not honored

Demo/Current

Config

ℹ️ entity chosen from 'standard' ones for the sample

type: custom:mini-graph-card
entities:
 - sensor.sun_next_rising
show:
  name: false
align_icon: right

Image

Image

Expectation

"As-is" expected

I'd expect it to display like this, at least, based on how other configuration combos work

Image

Photoshopped to remove the name manually when show.name: true

My ideal

Ideally, I'd like it to display like this, but understand if that's not feasible

Image

Photoshopped to show personal preference of what I was trying to get, when I found the bug of align_icon not being honored.

Simulated with what is available

Image

This alternative puts the value into the name, so avoided photoshop, but looks inconsistent next to other cards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions