Skip to content

0.47.0 - User requested features and things I did wrong, but am righting! 🎐 🍷

Choose a tag to compare

@github-actions github-actions released this 06 Nov 00:10

I know, I know... You opened HAS, and you see the notification lit up next to settings. Wait, it can't be, not another room-summary-card update.... all my other integrations don't harass me this way!!

wellll...

Entity Icon Images Respect State

Entity icon images now properly respect the entity's active/inactive state. When an entity is active and has an image configured, the image will be displayed at full opacity. When the entity is inactive, the image will be dimmed using the theme's inactive opacity settings, providing better visual feedback about entity state.

Benefits

  • ✅ Icon images now dim when entities are inactive
  • ✅ Active entities show images at full brightness
  • ✅ Consistent visual feedback with entity state
  • ✅ Respects theme opacity settings for inactive states

Display Entity Attributes Instead of State

You can now configure sensors and entities to display a specific attribute value instead of the entity state or name. This uses Home Assistant's built-in attribute formatting for proper display of values like temperature, battery levels, conditions, and more.

Example: Sensor with Attribute Display

type: custom:room-summary-card
area: living_room
sensors:
  # Display the temperature attribute instead of the state value
  - entity_id: sensor.weather_station
    attribute: temperature

  # Display battery level attribute
  - entity_id: sensor.smartphone_battery
    attribute: battery_level

  # Display weather condition with label fallback
  - entity_id: sensor.weather
    label: 'Weather'
    attribute: condition

Example: Entity with Attribute Label

When show_entity_labels is enabled, you can display an attribute value as the entity label:

type: custom:room-summary-card
area: living_room
features:
  - show_entity_labels
entities:
  # Display battery level attribute as the label
  - entity_id: sensor.phone_battery
    attribute: battery_level

  # Display weather condition attribute as the label
  - entity_id: sensor.weather_station
    attribute: condition

Benefits

  • ✅ Display formatted attribute values with proper units and formatting
  • ✅ Show secondary information from entities (battery levels, conditions, etc.)
  • ✅ Works with Home Assistant's built-in attribute formatting
  • ✅ Falls back gracefully if attribute is missing

Priority Order

For sensors, the display priority is:

  1. State/threshold label (if configured)
  2. Entity-level label (if configured)
  3. Attribute value (if attribute is specified)
  4. Sensor state value (default)

For entities with labels, the display priority is:

  1. State/threshold label (if configured)
  2. Entity-level label (if configured)
  3. Attribute value (if attribute is specified)
  4. Entity name (default)

Enhanced Default Entity Naming Support

The card now supports alternative naming conventions for default room entities:

Light Entities: light.{area}_light or light.{area} (e.g., light.living_room_light or light.living_room)

Fan Entities: switch.{area}_fan or fan.{area} (e.g., switch.living_room_fan or fan.living_room)

Benefits

  • ✅ Backward compatible with existing configurations
  • ✅ More flexible entity naming options
  • ✅ Auto-discovery works with both naming patterns

This change allows users to use shorter entity names without the _light or _fan suffix while maintaining full compatibility with existing setups.


What's Changed

  • chore: yarn (deps-dev): bump jsdom from 27.0.1 to 27.1.0 in the all-dependencies group by @dependabot[bot] in #230
  • Fix YAML formatting in ENTITY-CONFIGURATION.md by @lennon101 in #236
  • User requested features and things I did wrong, but am righting! 🎐 🍷 by @warmfire540 in #239

New Contributors

Full Changelog: 0.46.0...0.47.0