Skip to content

Releases: pacemaker82/Compact-Power-Card

1.3.3.1

01 Jan 09:22
3ae9efe

Choose a tag to compare

Fixed

  • Power flow lines now recalculate flow speed at the end of the animation run. This should remove any more dot "juddering" when entity values change.

--

If you enjoy this card, please give it a star on the github repository. Thank you!

1.3.3

31 Dec 08:39
0e26e47

Choose a tag to compare

Added

Devices and labels are now unlimited!

Important: you must increase the size of the card to see more labels/devices. Just adding them to the card configuration / YAML is not enough, the card hides them if rows/column minimums aren't met.

Cap limits are in place for the default size of the card (12 columns, 3 rows): 2 Grid, 2 Battery, 4 PV labels, 8 Devices.

Note: There are of course theoretical limits due to the size of the cards which I cannot really avoid without making the UI tiny. In testing I am seeing 8 devices and PV labels for every 12 columns used, in theory grid and battery labels should be unlimited if you keep growing the card height.

Another Note: On small screens (phones), the width of wide cards is squeezed small - in this case a max of 8 PV labels or devices will be shown in the UI.

Reminder: Card resizing is managed using sections.

Your mileage may vary with this change. It can lead to overlapping labels and other undesirable effects as there are so many possible scenarios that I can't really control.

Other Changes

  • curve_factor updated to support 0-5 range.
  • curved_lines is now deprecated. Use curve_factor: 0 for same effect.
  • Refactored all geometry across render and update to remove duplication.

1.3.2.8

30 Dec 08:55
dbe09d1

Choose a tag to compare

Added

  • import_entity and export_entity on grid can be set instead of single grid power entity. (YAML only)
  • charge_entity and discharge_entity on battery can be set instead of a single battery power entity (YAML only)

Changed

  • Added a time-based smoothing to the flow animations to try and resolve glitches from fast updating power entities.

1.3.2.7

29 Dec 08:10
e77c21d

Choose a tag to compare

Changed

  • Flow line animation durations only change when there is a >15% change in power.
  • Reduced card height when No PV or No Battery situation occurs, adding labels increases card height again.

Fixed

  • Issue where a non-numeric label state wasn't appearing with bold text.
  • PV labels show in the correct position when there is no battery. (2 only)

1.3.2.6

28 Dec 09:40
db09957

Choose a tag to compare

Added

  • Card-level remove_glow_effects option to disable glow/drop-shadow effects in dark mode.

Fixed

  • Issue where some labels in numerical formats like "23:00:00" were being rendered as decimals.

1.3.2.5

28 Dec 08:22
f088ba2

Choose a tag to compare

Added

  • Card-level remove_glow_effects option to disable glow/drop-shadow effects in dark mode.

Fixed

  • Issue where some labels in numerical formats like "23:00:00" were being rendered as decimals.

1.3.2.4

27 Dec 07:22
09d8fd3

Choose a tag to compare

Added

  • Tap actions for more-info and navigate, the latter needing a navigation_path to navigate to. Works on Home, PV, Grid and Battery as an override for the default more-info.
  • Glow to the home icon in dark mode.

Changed

  • Providing a home entity no longer includes it as part of the icon gradient calculation. Gradients and power flows are inferred from PV/battery/grid only. You can subtract devices from the home entity value using subtract_devices_from_home: true (unchanged from before)
  • Improved gradient transitions on home icon

Fixed

  • Issue where power flow dots weren't reaching their destination.

1.3.2.3

24 Dec 09:13
63d6abc

Choose a tag to compare

Added

New label fields below. To use these, the card must be used within sections UI, and card must be set to 4 or more rows in height. See readme for more on how to set that.

  • name field on devices so you can show a label on each device.
  • name field on PV labels to show optional name label.

Changed

  • Improved the layout for no-pv and no-battery situations
  • Adjusted the blend width on the home icon gradient to smoothen it out a little more.

Fixed

  • force_hide_under_threshold now hides devices at 0W even without a threshold.
  • Issue where having more than 8 devices in YAML and using force_hide_under_threshold wasn't working as expected.

1.3.2.2

23 Dec 11:34
9946ce6

Choose a tag to compare

Added

  • Home icon (by default) is now coloured with a gradient based on the amount of grid, battery, pv powering the home. The angle of the gradient will prefer where the most power is coming from. To disable it, use disable_home_gradient: true in the card options. Thanks to @whyisthisbroken for the suggestion!

Changed

  • When attaching a switch entity to a device, the icon now shows a line indicator to show it is a switch.
  • When using PV, Grid and Home only, PV shows up where battery normally would. PV labels stay as is, as 4 are supported. @warbringer
  • Allow input_boolean entities in device switch compatibility for @llhotka

Fixed

  • Issue where card was not loading on refresh for a while due to state change logic.

GitHub Downloads (all assets, specific tag)

1.3.2.1

22 Dec 09:16
baf47d7

Choose a tag to compare

Added

  • Per-device force_hide_under_threshold option to hide device cards entirely when under threshold.

Fixed

  • Adjust PV/grid/battery flow allocation when battery is force charging so PV charges battery first and grid covers remaining home/charge needs.

GitHub Downloads (all assets, specific tag)