Releases: pacemaker82/Compact-Power-Card
Releases · pacemaker82/Compact-Power-Card
1.3.2.8
Added
import_entityandexport_entityongridcan be set instead of single grid power entity. (YAML only)charge_entityanddischarge_entityonbatterycan 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
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
Added
- Card-level
remove_glow_effectsoption 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
Added
- Card-level
remove_glow_effectsoption 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
Added
- Tap actions for
more-infoandnavigate, the latter needing anavigation_pathto navigate to. Works on Home, PV, Grid and Battery as an override for the defaultmore-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
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.
namefield ondevicesso you can show a label on each device.namefield onPVlabelsto 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_thresholdnow hides devices at 0W even without a threshold.- Issue where having more than 8 devices in YAML and using
force_hide_under_thresholdwasn't working as expected.
1.3.2.2
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: truein 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_booleanentities in device switch compatibility for @llhotka
Fixed
- Issue where card was not loading on refresh for a while due to state change logic.
1.3.2.1
1.3.2.0
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_socis now clickable to open the entity view when shown in the UI label.- Adjusted the font size down of the
unitof 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: truewas 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.
1.3.1.1
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: powerentities will have an impact on home power calculations. - Only devices with
device_class: powerwill 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.