🎉 Happy New Year! 🎉
"The best way to get a project done faster is to start sooner." - Jim Highsmith
Bug Fix: Entity Name Display
What's Fixed
Entity names now correctly display using their friendly name without the device name prefix. This ensures cleaner, more readable entity labels in the card display, matching the expected behavior where entity names should be distinct from device names.
New Feature: Inverse Percent Colors
What's New
Added support for inverting percent bar colors for specific entities. This is particularly useful for metrics where low values are good and high values are bad, such as disk usage or memory usage.
How It Works
When you configure inverse_percent with a list of entity IDs, those entities will display:
- Green for low percentages (≤30%)
- Yellow for medium percentages (31-60%)
- Red for high percentages (>60%)
This is the opposite of the default behavior, where green indicates high values and red indicates low values.
Configuration
Add inverse_percent to your card configuration in the Features section of the editor, or via YAML:
type: custom:device-card
device_id: your_device_id
inverse_percent:
- sensor.disk_usage_home
- sensor.disk_usage_root
- sensor.memory_usage_percentExample Use Cases
- Disk usage: Low disk usage is good (green), high usage is bad (red)
- Memory usage: Low memory usage is good (green), high usage is bad (red)
- Error rates: Low error rates are good (green), high rates are bad (red)
- chore: bumps version to 0.16.0 by @gh-action-bump-version
- restore friendly names - thanks @PedroKTFC! by @warmfire540
- configure inverse percent entities - thanks @misc-brabs! by @warmfire540
- more percent entities show graph bar - thanks @PedroKTFC! by @warmfire540
- add ru translations (#32) by @Virenbar
What's Changed
- Added Russian translation by @Virenbar in #32
- More percent entities show graph bar 🎭 🪫 by @warmfire540 in #36
- Configure inverse percent entities + device names removed from entities once again! 🥼 🏷️ by @warmfire540 in #37
New Contributors
Full Changelog: 0.15.0...0.16.0