Skip to content

0.2.0 - Custom Graph Colors 🥶 ⏰

Choose a tag to compare

@github-actions github-actions released this 23 Dec 16:38
· 34 commits to main since this release

Wish the best to you this break... 🎄❄️

Thanks to everyone who uses this card! Hope you all have a great end-of-year break—my wife and I will be chilling with the cats here in Florida.

I want to show my appreciation for everyone who has submitted features and bugs. This card was to replace my energy cards and to get a glimpse at the area activity.

Shameless plug: thanks to anyone who's bought me a coffee! ☕ My wife gets excited showing me the Ko-fi emails. You don't have to, but the caffeine is put to good use.

Now for the last release of 2025 maybe?!

Features

Custom Entity Colors

You can now customize the color of individual chart items by using the object format for entities:

entities:
  - sensor.power1 # Uses default color
  - entity_id: sensor.power2
    color: '#ff0000' # Custom red color
  - entity_id: sensor.energy1
    color: 'rgba(0, 255, 0, 0.8)' # Custom green with transparency
  - entity_id: sensor.energy2
    color: primary # HA color

The entities field now accepts both:

  • String format: Simple entity IDs (backward compatible)
  • Object format: Entity IDs with custom colors (entity_id and color fields)

You can mix both formats in the same configuration. Colors can be specified in any CSS format (hex, rgba, named colors, etc.), or use Home Assistant theme colors (primary, accent, red, blue, green, etc.).

Bug Fixes

  • Fixed compact view to show friendly names in legend

  • chore: bumps version to 0.2.0 by @gh-action-bump-version
  • chore: deps by @warmfire540
  • customize colors of graph lines - thanks @LamarcLS! by @warmfire540
  • compact view shows friendly names in legend - thanks @LamarcLS! by @warmfire540
  • chore: yarn (deps-dev): bump the all-dependencies group with 8 updates (#6) by @dependabot[bot]
  • chore: yarn (deps-dev): bump @types/sinon from 17.0.4 to 21.0.0 (#5) by @dependabot[bot]
  • chore: yarn (deps-dev): bump the all-dependencies group with 3 updates (#4) by @dependabot[bot]
  • chore: yarn (deps-dev): bump @trivago/prettier-plugin-sort-imports (#3) by @dependabot[bot]
  • chore: yarn (deps-dev): bump the all-dependencies group with 6 updates (#2) by @dependabot[bot]
  • chore: yarn (deps-dev): bump the all-dependencies group with 2 updates (#1) by @dependabot[bot]

What's Changed

  • chore: yarn (deps-dev): bump the all-dependencies group with 2 updates by @dependabot[bot] in #1
  • chore: yarn (deps-dev): bump the all-dependencies group with 6 updates by @dependabot[bot] in #2
  • chore: yarn (deps-dev): bump @trivago/prettier-plugin-sort-imports from 5.2.2 to 6.0.0 by @dependabot[bot] in #3
  • chore: yarn (deps-dev): bump the all-dependencies group with 3 updates by @dependabot[bot] in #4
  • chore: yarn (deps-dev): bump @types/sinon from 17.0.4 to 21.0.0 by @dependabot[bot] in #5
  • chore: yarn (deps-dev): bump the all-dependencies group with 8 updates by @dependabot[bot] in #6
  • Custom Graph Colors 🥶 ⏰ by @warmfire540 in #11

New Contributors

Full Changelog: 0.1.0...0.2.0