Skip to content

Releases: homeassistant-extras/ohm-assistant

0.6.0 - Conditional Axis Display 📊✨

10 Mar 21:34

Choose a tag to compare

📐 Conditional Axis Display

  • The Power (W) and Energy (kWh) axes are now only shown when they are set up with entities that return data.

Thanks for the feedback and improvements! ❤️


What's Changed

Full Changelog: 0.5.0...0.6.0

0.5.0 - Custom Entity Names 🏷️ 🐫

10 Mar 02:38

Choose a tag to compare

Custom Entity Names

Set custom display names for entities in charts and legends:

entities:
  - entity_id: sensor.waschmaschinensteckdose_leistung
    name: Waschmaschine
  - entity_id: sensor.kuhlschrank_garage_leistung
    name: Kühlschrank Garage

Editor: Per-Entity Color & Name Configuration

The card editor now supports configuring custom name and color for each entity. Click the pencil (edit) icon next to any entity in the Entities list to open a detail view where you can set an optional display name and chart color for that entity.

image
  • chore: bumps version to 0.5.0 by @gh-action-bump-version
  • code smells by @warmfire540
  • advanced entities editor by @warmfire540
  • custom entity names - thanks @frankfrommelt! by @warmfire540
  • chore: yarn (deps-dev): bump nyc from 17.1.0 to 18.0.0 (#26) by @dependabot[bot]
  • chore: yarn (deps-dev): bump the all-dependencies group with 2 updates (#25) by @dependabot[bot]
  • chore: yarn (deps-dev): bump the all-dependencies group with 2 updates (#23) by @dependabot[bot]
  • chore: yarn (deps-dev): bump jsdom from 27.4.0 to 28.0.0 (#21) by @dependabot[bot]
  • chore: yarn (deps-dev): bump @types/node in the all-dependencies group (#22) by @dependabot[bot]
  • chore: yarn (deps-dev): bump the all-dependencies group with 6 updates (#20) by @dependabot[bot]
  • chore: yarn (deps-dev): bump the all-dependencies group with 2 updates (#19) by @dependabot[bot]
  • chore: yarn (deps): bump lodash-es from 4.17.21 to 4.17.23 (#18) by @dependabot[bot]
  • chore: yarn (deps-dev): bump the all-dependencies group with 2 updates (#17) by @dependabot[bot]
  • chore: yarn (deps-dev): bump the all-dependencies group with 2 updates (#16) by @dependabot[bot]

What's Changed

  • chore: yarn (deps-dev): bump the all-dependencies group with 2 updates by @dependabot[bot] in #16
  • chore: yarn (deps-dev): bump the all-dependencies group with 2 updates by @dependabot[bot] in #17
  • chore: yarn (deps): bump lodash-es from 4.17.21 to 4.17.23 by @dependabot[bot] in #18
  • chore: yarn (deps-dev): bump the all-dependencies group with 2 updates by @dependabot[bot] in #19
  • chore: yarn (deps-dev): bump the all-dependencies group with 6 updates by @dependabot[bot] in #20
  • chore: yarn (deps-dev): bump @types/node from 25.2.0 to 25.2.2 in the all-dependencies group by @dependabot[bot] in #22
  • chore: yarn (deps-dev): bump jsdom from 27.4.0 to 28.0.0 by @dependabot[bot] in #21
  • chore: yarn (deps-dev): bump the all-dependencies group with 2 updates by @dependabot[bot] in #23
  • chore: yarn (deps-dev): bump the all-dependencies group with 2 updates by @dependabot[bot] in #25
  • chore: yarn (deps-dev): bump nyc from 17.1.0 to 18.0.0 by @dependabot[bot] in #26
  • Custom Entity Names 🏷️ 🐫 by @warmfire540 in #27

Full Changelog: 0.4.0...0.5.0

0.4.0 - Stacked Line Charts: Because Why Choose Between Lines and Bars? 💹 💈

09 Jan 16:01

Choose a tag to compare

🎊 Happy New Year! 🎊

"The future belongs to those who believe in the beauty of their dreams." - Eleanor Roosevelt

🎉 New Feature: Stacked Line Chart

✨ What's New

Added support for Stacked Line Chart visualization mode! This new chart type combines the smooth line visualization with cumulative stacking, perfect for showing how multiple entities contribute to total power or energy consumption.

stacked

📊 Features

  • Stacked Line Charts - Visualize cumulative data with smooth line curves
  • Hourly Aggregation - Uses hourly data points (same as stacked bar charts) for better spacing
  • Clean Visualization - No dots or points cluttering the chart
  • Untracked Power Support - Works seamlessly with untracked power visualization
  • Consistent Styling - All datasets properly filled and styled

📝 Usage

chart:
  chart_type: stacked_line
  total_power_entity: sensor.total_power  # Optional: for untracked power

🎯 Use Cases

  • Overview Visualization - Get a cumulative view similar to stacked bars but with smooth lines
  • Trend Analysis - See how individual entities contribute to overall trends over time
  • Power Monitoring - Visualize cumulative power consumption across multiple devices

Chart Type Options:

  • line - Detailed line chart with 5-minute aggregation
  • stacked_bar - Stacked bar chart with hourly aggregation
  • stacked_line - NEW! Stacked line chart with hourly aggregation

What's Changed

  • chore: yarn (deps-dev): bump @trivago/prettier-plugin-sort-imports from 6.0.0 to 6.0.1 in the all-dependencies group by @dependabot[bot] in #14
  • Stacked Line Charts: Because Why Choose Between Lines and Bars? 💹 💈 by @warmfire540 in #15

Full Changelog: 0.3.0...0.4.0

0.3.0 - Stacked Bar Chart / Untracked Consumption

03 Jan 17:51

Choose a tag to compare

New Features

📊 Chart Type Selection

Choose between Line and Stacked Bar chart types to visualize your energy data in the way that works best for you!

  • Line Charts (Default): Perfect for detailed analysis with smooth curves showing power and energy trends over time
    • Uses 5-minute data aggregation for smooth, detailed visualization
    • Ideal for tracking precise consumption patterns
  • Stacked Bar Charts: Great for comparing total consumption and seeing the breakdown of tracked vs untracked power
    • Uses hourly data aggregation for larger, easier-to-read bars
    • Perfect for understanding overall energy distribution
type: custom:area-energy-card
area: living_room
chart:
  chart_type: stacked_bar # Options: 'line' (default) or 'stacked_bar'

🔍 Untracked Power Visualization

New feature to visualize power consumption that isn't tracked by individual entities!

  • How it works: Specify a "Total Power Entity" in the entities section of the card editor
  • The card automatically calculates the difference between total power and the sum of all tracked power entities
  • Untracked power appears as a gray bar stacked on top of tracked power in bar charts
  • Example: If your total power is 50W and tracked entities add up to 40W, you'll see 10W displayed as "untracked" power
  • Untracked power is also shown in the legend with its current value
type: custom:area-energy-card
area: living_room
chart:
  total_power_entity: sensor.total_power # Your total power entity ID

Note: Untracked power visualization only works with stacked bar charts (chart_type: stacked_bar).

Bar


What's Changed

  • chore: yarn (deps): bump the all-dependencies group with 3 updates by @dependabot[bot] in #12
  • Stacked Bar Chart / Untracked Consumption by @warmfire540 in #13

Full Changelog: 0.2.0...0.3.0

0.2.0 - Custom Graph Colors 🥶 ⏰

23 Dec 16:38

Choose a tag to compare

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

0.1.0 - Initial Version!

25 Oct 04:10

Choose a tag to compare