Skip to content

Add icon support to gauge#8081

Merged
spacegaier merged 4 commits intohome-assistant:devfrom
spacegaier:gauge-icon
Jan 27, 2021
Merged

Add icon support to gauge#8081
spacegaier merged 4 commits intohome-assistant:devfrom
spacegaier:gauge-icon

Conversation

@spacegaier
Copy link
Copy Markdown
Member

@spacegaier spacegaier commented Jan 4, 2021

Breaking change

Previously there was no icon shown (inconsistent compared to other cards). Now, the icons will appear unless we add a toggle for that.

Proposed change

Icon now shown in front of label.
image

Editor support:
image

Also for a more consistent look with the entity and sensor cards (plus feels lighter / more modern), the label now uses the secondary color.
image

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@spacegaier spacegaier merged commit 4f0bb9f into home-assistant:dev Jan 27, 2021
@spacegaier spacegaier deleted the gauge-icon branch January 27, 2021 12:36
@bramkragten bramkragten mentioned this pull request Jan 27, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants