Configuration Guide¶
This guide covers all configuration options for the Room Summary Card, from basic setup to advanced customization.
Table of Contents¶
Some of these go to their own documents - so use this ToC as a guide.
- Basic Configuration
- Configuration Options
- Feature Flags
- Background Configuration
- Entity Configuration
- Badge Configuration
- Entity Color Configuration
- Sensor Configuration
- Threshold Configuration
- Occupancy Configuration
- Multi-Light Background Configuration
- Slider Configuration
- Action Configuration
- Entity Attributes
- Setting Up Area Pictures
- Examples
- Custom Styles Configuration
Basic Configuration¶
The most minimal configuration requires only the area:
With no additional configuration the card automatically discovers and displays:
- Room light - also the main entity for card coloring
- Room fan
- Temperature sensors
- Humidity sensors
- Area background image (if set)
See default entities
Configuration Options¶
| Name | Type | Default | Description |
|---|---|---|---|
| area | string | Required | The area identifier for the room (e.g., 'shed', 'kitchen') |
| area_name | string | area name | Custom area name |
| entity | string | object | light.<area>_light or light.<area> |
Main entity for the room |
| entities | array | See below | Additional entities to display |
| sensors | array | See below | Array of sensor entities to display in the card label area |
| lights | array | auto-discovered | Array of light entities for multi-light background |
| navigate | string | area name (dash-separated) | Custom navigation path when clicking the room name / icon |
| background | object | See below | Background image configuration |
| occupancy | object | See below | Occupancy detection configuration |
| features | list | See below | Optional flags to toggle different features |
| sensor_layout | string | default |
Layout for sensor display: default, stacked, or bottom |
| sensor_classes | array | See below | Device classes to average and display sensor readings for |
| thresholds | object | 80° / 60% |
Climate thresholds for temperature, humidity, and mold |
| slider_style | string | minimalist |
Visual style of the slider track when slider feature is enabled |
| icon_opacity_preset | string | default |
Icon opacity preset: default, medium, or high_visibility |
| problem | object | See below | Problem indicator configuration |
| styles | object | {} |
Custom CSS styles for card areas |
Default Entities¶
By default, the card will include (if found):
- Room light by naming convention (
light.living_room_lightorlight.living_room) - Room fan by naming convention (
switch.living_room_fanorfan.living_room) - All temperature and humidity sensors by device class
- Problem entities (labeled with "problem")
- Mold sensors (with animated indicators when thresholds are exceeded)
- Area statistics
- Area background image (if picture attribute is set)
Feature Flags¶
Use feature flags to customize card behavior:
features:
- hide_climate_label
- hide_area_stats
- hide_room_icon
- hide_sensor_icons
- hide_sensor_labels
- exclude_default_entities
- skip_climate_styles
- skip_entity_styles
- multi_light_background
- ignore_entity
- sticky_entities
- slider
- full_card_actions
- hide_hidden_entities
| Feature | Description |
|---|---|
| hide_climate_label | Hide the climate/sensor information |
| hide_area_stats | Hide the area statistics (device/entity counts) |
| hide_room_icon | Hide the room icon (for cleaner layouts) |
| hide_sensor_icons | Hide the icons next to sensor values |
| hide_sensor_labels | Hide the labels next to sensor icons (opposite of hide_sensor_icons) |
| exclude_default_entities | Don't include default light/fan entities |
| skip_climate_styles | Disable climate-based color coding & borders |
| skip_entity_styles | Disable card background styling based on main entity |
| show_entity_labels | Show entity labels under each entity icon |
| multi_light_background | Enable background lighting when any light in the room is on |
| ignore_entity | Ignore the custom entity configuration and use default room entity (useful with auto-entities) |
| sticky_entities | Keep entity positions stable even when state is unavailable (prevents UI layout shifts) |
| slider | Display the first entity as a draggable slider for brightness control |
| full_card_actions | Make entire card clickable with tap/hold actions for mobile-friendly navigation |
| hide_hidden_entities | Skip entities that are marked as hidden in Home Assistant |
Using ignore_entity with Auto-Entities¶
The ignore_entity feature is particularly useful when using the auto-entities card to automatically generate room cards. It allows you to specify an entity in the auto-entities configuration while still using the default room entity for the card display.
See Ignore Entities documentation.
Sensor Classes¶
By default these sensor classes will be averaged.
- temperature
- humidity'
- illuminance
See sensor configuration for more information.
Color Configuration¶
Entity colors can now be configured directly in the card:
entities:
- entity_id: light.living_room
on_color: yellow
off_color: grey
icon_color: '#FFD700'
- entity_id: switch.fan
on_color: blue
off_color: disabled
- entity_id: sensor.battery_level
thresholds:
- threshold: 80
icon_color: green
- threshold: 50
icon_color: orange
- threshold: 20
icon_color: red
operator: lt # Below 20%
Custom Styles¶
Apply custom CSS styles to different areas of the card:
type: custom:room-summary-card
area: living_room
styles:
card:
background: 'linear-gradient(45deg, #ff6b6b, #4ecdc4)'
border-radius: 15px
title:
color: white
font-size: 2em
entities:
grid-template-rows: 1fr 1fr;
grid-template-columns: 1fr 1fr;
entity_icon:
width: 50%; # change icon size
background: red;
stats:
color: yellow
opacity: 1
sensors:
color: red
'--user-sensor-icon-size': 24px
- See Custom Styles Configuration for style information.
- See Entity Color Configuration for complete color options.
Icon Opacity Preset¶
The icon opacity preset allows you to easily adjust icon visibility without custom CSS. This is particularly useful for improving icon visibility on certain backgrounds or themes.
Available Presets:
default- Uses the standard theme opacity values (inactive icons: 0.2 opacity, inactive fills: 0.1/0.05)medium- Balanced visibility (inactive icons: 0.6 opacity, inactive fills: 0.15)high_visibility- Maximum visibility (inactive icons: 1.0 opacity, inactive fills: 0.2)
Note: Active icons always use full opacity (1.0) regardless of preset. The preset only affects inactive icon states.
This feature can be configured via the editor dropdown in the Styles section, or directly in YAML configuration.
Problem Indicator Configuration¶
Control how the problem indicator (green/red circle) is displayed:
type: custom:room-summary-card
area: living_room
problem:
display: active_only # Options: always, active_only, never
Display Modes:
always(default) - Shows indicator at all times (green when no problems, red when problems active)active_only- Only shows indicator when problems are active (hides green circle)never- Completely hides the problem indicator (mold indicator still shows if configured)
Interactive Features:
- Click to View Details: Click the problem indicator (numbered badge) to open a dialog showing all problem entities
- Entity Information: The dialog displays each problem entity with its icon, name, current state, and active/inactive status
- Quick Access: Click any entity in the dialog to open its more-info dialog for detailed information and controls
See Problem Entity Detection for more details.
Alarm Detection (Occupancy, Smoke, Gas & Water)¶
The card supports alarm detection using motion, occupancy, presence, smoke, gas, or moisture sensors to provide visual feedback when rooms are occupied or when alarms are detected:
type: custom:room-summary-card
area: living_room
occupancy:
entities:
- binary_sensor.living_room_motion
- binary_sensor.living_room_occupancy
card_border_color: '#4CAF50' # Green border when occupied
icon_color: '#FF9800' # Orange icon background when occupied
smoke:
entities:
- binary_sensor.living_room_smoke_detector
card_border_color: '#F44336' # Red border when smoke detected
icon_color: '#FF1744' # Red icon background when smoke detected
gas:
entities:
- binary_sensor.living_room_gas_detector
card_border_color: '#FF9800' # Orange border when gas detected
icon_color: '#FF5722' # Orange icon background when gas detected
water:
entities:
- binary_sensor.living_room_water_leak
card_border_color: '#2196F3' # Blue border when water detected
icon_color: '#03A9F4' # Blue icon background when water detected
Features:
- Visual indicators (card borders, icon colors) when alarms are detected
- Support for multiple sensor types (motion, occupancy, presence for occupancy; smoke for smoke detection; gas for gas detection; moisture for water detection)
- Customizable styling options
- Priority system: Smoke > Gas > Water > Occupancy (higher priority alarms suppress lower priority ones and use different colors)
See Alarm Configuration for complete documentation and examples.
Multi-Light Background¶
The multi-light background feature allows the card background to light up when any light entity in the room is on, instead of only when the main room entity is on. This is particularly useful for rooms with multiple lights where you want the background to reflect the actual lighting state of the room.
type: custom:room-summary-card
area: kitchen
features:
- multi_light_background
lights:
- light.kitchen_main
- light.kitchen_under_cabinet
- switch.kitchen_pendant
Features:
- Automatic discovery of all light entities in the area
- Manual override with custom entity lists
- Support for mixed entity types (lights, switches, sensors)
- Smart background lighting when ANY tracked light is on
See Multi-Light Background Configuration for complete documentation and examples.
Slider Control¶
The slider feature displays the first entity as a draggable vertical slider, allowing you to control brightness by dragging the entity icon up and down. This is particularly useful for light entities where you want quick brightness adjustment.
type: custom:room-summary-card
area: living_room
features:
- slider
slider_style: filled
entity: light.living_room_main
Features:
- Drag the entity icon vertically to adjust brightness (0-255)
- Icon position reflects current brightness level
- Works with mouse and touch interactions
- Multiple visual track styles available
- Automatically uses the first entity from your entity list
Slider Styles:
The slider_style option controls the visual appearance of the track:
minimalist(default) - Clean, minimal tracktrack- Sunken track with depthline- Thin vertical linefilled- Progress bar showing brightness levelgradient- Gradient line effectdual-rail- Two parallel linesdots- Dotted track with ticksnotched- Track with notches/indentsgrid- Grid pattern with horizontal linesglow- Glowing line effectshadow-trail- Shadow that follows the iconoutlined- Outlined track borderbar- Bar filled with light color (no icon)bar-filled- Bar with proportional fill based on brightness level
See Slider Configuration for complete documentation and examples.
Next Steps¶
- Background Configuration - Customize the background with images, camera feeds, etc.
- Theming Guide - Learn about theme support and color customization
- Advanced Usage - Explore advanced features and integrations
- Troubleshooting - Common issues and solutions