Skip to content

Releases: pacemaker82/Compact-Power-Card

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)

1.3.2.0

20 Dec 09:28
ed4ac50

Choose a tag to compare

Added

  • Devices now support an optional switch_entity, which will toggle on/off when pressing the icon. Useful for plugs.
  • Visual flicker animation to device power lines when devices turn off (or go below threshold)
  • Visual flicker animation to power labels when they hit 0 or go below threshold.

Changed

  • battery_soc is now clickable to open the entity view when shown in the UI label.
  • Adjusted the font size down of the unit of measurement within the label.
  • Re-aligned the PV label state and units to be base aligned.

Fixed

  • Home icon no longer appears clickable if there is no entity to open (home entity isn't set)
  • Adjusted the power flow line logic to re-align on priority resolution for PV vs Grid import.
  • Issue where subtract_from_home: true was causing power flow lines not to light up in certain circumstances.
  • Issue where sub-labels were dimmming icons incorrectly when threshold not met.
  • Configuration UI allows decimal thresholds on labels that aren't for power.

GitHub Downloads (all assets, specific tag)

1.3.1.1

19 Dec 09:33
dda0cd7

Choose a tag to compare

Changed

  • PV section can now show 4 labels, 2 either side of the main PV icon. These are just labels and do not affect any power calculations.
  • Any entity can be used in the devices section, but only device_class: power entities will have an impact on home power calculations.
  • Only devices with device_class: power will show the power flow lines in the devices section.

Fixed

  • Issue where some labels in the configuration UI were not coming through.
  • Clarity of some labels in the configuration UI.

GitHub Downloads (all assets, specific tag)