0.55.0 - Brightness affects card coloring, entity for threshold values 🔍 🔦
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
temperatureandhumiditythreshold 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 entityOr use numeric values as before:
thresholds:
temperature: 75 # Static numeric threshold
humidity: 55 # Static numeric thresholdCompatibility
- 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.
Changes
Card Background Filter
- Cards now include a
--background-filterCSS 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-filterCSS 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
filterCSS 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.)
- chore: bumps version to 0.55.0 by @gh-action-bump-version
- random sonar code smells by @warmfire540
- code cleanup and docs by @warmfire540
- Add entity option to threshold configurations. (#289) by @Micky2149
- brightness affects card coloring - thanks @ojm88! by @warmfire540
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
- @Micky2149 made their first contribution in #289
Full Changelog: 0.54.0...0.55.0
