Skip to content

0.55.0 - Brightness affects card coloring, entity for threshold values 🔍 🔦

Choose a tag to compare

@github-actions github-actions released this 29 Nov 06:53

Future Breaking Changes ⚠️ 💣

Projected breaking changes for thresholds property to make it more robust in the future. Keep an eye out on future updates if you're actively using this property.

Entity-Based Threshold Configuration

⭐ User Contribution ⭐ - This feature was contributed by @Micky2149. Thank you for your contribution!

Overview

The Room Summary Card now supports entity-based threshold values for temperature and humidity thresholds. This allows you to dynamically adjust thresholds by reading values from sensor entities, perfect for scenarios where thresholds change based on time of day, season, or other conditions.

Changes

  • temperature and humidity threshold values can now be either numeric values or entity IDs
  • When an entity ID is provided, the threshold value is read from the entity's state
  • Threshold entities are automatically collected and included in sensor processing
  • Fully backward compatible - existing numeric threshold configurations continue to work

Examples

thresholds:
  temperature: sensor.temperature_threshold # Dynamic threshold from entity
  humidity: sensor.humidity_threshold # Dynamic threshold from entity

Or use numeric values as before:

thresholds:
  temperature: 75 # Static numeric threshold
  humidity: 55 # Static numeric threshold

Compatibility

  • Backward compatible: Existing numeric threshold configurations continue to work without changes
  • Flexible: Mix numeric and entity-based thresholds as needed
  • Dynamic: Threshold values update automatically when entity states change

Brightness Filter Support

Overview

The Room Summary Card now automatically applies brightness filters to cards, icons, and text based on entity brightness attributes. This enhancement provides better visual feedback for dimmed lights and other brightness-controlled entities.

brightness

Changes

Card Background Filter

  • Cards now include a --background-filter CSS variable that applies brightness adjustments based on the entity's brightness attribute
  • Automatically calculated for entities with brightness values (e.g., dimmable lights)
  • Provides visual feedback matching the actual brightness level of the entity

Icon Filter

  • Icons now include a --icon-filter CSS variable for brightness adjustments
  • Icons automatically reflect the brightness level of their associated entity
  • Enhances visual consistency between entity state and icon appearance

Text Filter

  • Text elements now include a filter CSS property for brightness adjustments
  • Applies to active entities with brightness attributes
  • Improves readability and visual consistency

Examples

When a light entity has a brightness of 100:

  • Card background filter: brightness(69%)
  • Icon filter: brightness(69%)
  • Text filter: brightness(69%) (for active entities)

Compatibility

  • Backward compatible: Existing configurations continue to work without changes
  • Automatic: No configuration required - brightness filters are applied automatically
  • Theme-aware: Works with all supported themes (default, minimalist, iOS, etc.)

What's Changed

  • Add entity option to threshold configurations. by @Micky2149 in #289
  • Brightness affects card coloring, entity for threshold values 🔍 🔦 by @warmfire540 in #291

New Contributors

Full Changelog: 0.54.0...0.55.0