Card features
Some dashboard cards have support for features. These widgets add quick controls to the card. Supported features depend on the card and entity capabilities. Multiple features can be added to a single card.
Screenshot of tile cards with features.
Features can be enabled on the following cards:
Customizing features
-
Edit the card and open the Features section.
-
To add an additional feature to your card, select Add feature.
-
Info: The available options for a feature depend on the entity and type of feature.
- For example, not all entities have a toggle or a counter-action.
-
Info: The available options for a feature depend on the entity and type of feature.
-
On tile cards, you can adjust the feature position.
- Under Features > Feature position, select Bottom or Inline:

-
Reordering features:
- Some features of the tile card, such as the presets or the HVAC modes of a thermostat, can show buttons.
- To reorder the buttons, enable Customize and drag and drop the buttons into position.
- If you don’t like the buttons, you can replace them by a Dropdown instead.
- Under Style, select the Dropdown option.

Alarm modes
Widget that displays buttons to arm and disarm an alarm.
features:
- type: "alarm-modes"
modes:
- armed_home
- armed_away
- armed_night
- armed_vacation
- armed_custom_bypass
- disarmed
Bar gauge
Widget that displays the state of a numeric sensor as a horizontal bar.
features:
- type: "bar-gauge"
min: 0
max: 100
segments:
- from: 0
color: '#db4437'
- from: 35.5
color: '#ffa600'
- from: 40
color: '#43a047'
- from: 60
color: '#ffa600'
- from: 65
color: '#db4437'
Configuration Variables
Allows setting of colors for different numbers.
List of colors and their corresponding start values. Segments will override the severity settings.
Button
Widget that displays buttons to control button, input_button, scene, or script.
features:
- type: "button"
action_name: "Press"
data:
variable: some_value
Climate fan modes
Widget that displays buttons or icons to control the fan mode for a climate device.
features:
- type: "climate-fan-modes"
style: "icons"
fan_modes:
- "off"
- low
- medium
- high
Climate HVAC modes
Widget that displays buttons to control the HVAC mode for a climate.
features:
- type: "climate-hvac-modes"
hvac_modes:
- auto
- heat_cool
- heat
- cool
- dry
- fan_only
- "off"
Climate preset modes
Widget that displays buttons or icons to control the preset mode for a climate.
features:
- type: "climate-preset-modes"
style: "icons"
preset_modes:
- home
- eco
Configuration Variables
How the preset modes should be displayed. It can be either dropdown or icons.
Climate swing modes
Widget that displays a dropdown or icons to control the swing mode for a climate.
features:
- type: "climate-swing-modes"
style: "icons"
swing_modes:
- "on"
- "off"
Configuration Variables
How the swing modes should be displayed. It can be either dropdown or icons.
Climate swing horizontal modes
Widget that displays a dropdown or icons to control the horizontal swing mode for a climate.
features:
- type: "climate-swing-horizontal-modes"
style: "dropdown"
swing_horizontal_modes:
- "on"
- "off"
Configuration Variables
How the horizontal swing modes should be displayed. It can be either dropdown or icons.
Counter actions
Widget that displays buttons to increment, decrement, and reset a counter.
features:
- type: "counter-actions"
actions:
- increment
- decrement
- reset
Cover open/close
Widget that displays buttons to open, close, or stop a cover.
features:
- type: "cover-open-close"
Cover position
Widget that displays a slider to control the position for a cover.
features:
- type: "cover-position"
Cover favorite positions
Widget that displays a dropdown with favorite positions for a cover.
You can customize favorites in a cover’s more info dialogA dialog that shows information about a single entity.. To edit them, press and hold a favorite.
features:
- type: "cover-position-favorite"
Cover tilt
Widget that displays buttons to open, close, or stop a cover.
features:
- type: "cover-tilt"
Cover favorite tilt positions
Widget that displays a dropdown with favorite tilt positions for a cover.
You can customize favorites in a cover’s more info dialogA dialog that shows information about a single entity.. To edit them, press and hold a favorite.
features:
- type: "cover-tilt-favorite"
Cover tilt position
Widget that displays a slider to control the tilt position for a cover.
features:
- type: "cover-tilt-position"
Date
Widget that displays a button to select a date using the date picker dialog for the date, datetime, and input datetime entities.
features:
- type: "date-set"
Fan direction
Widget that displays controls to change direction for a fan.
features:
- type: "fan-direction"
Fan oscillate
Widget that displays controls to change oscillation state for a fan.
features:
- type: "fan-oscillate"
Fan preset modes
Widget that displays buttons or icons to control the preset mode for a fan.
features:
- type: "fan-preset-modes"
preset_modes:
- auto
- smart
- sleep
- 'on'
Configuration Variables
How the preset modes should be displayed. It can be either dropdown or icons.
Fan speed
Widget that displays speed controls for a fan.
The available style depends on how many speeds your fan supports:
- Fans that only support being turned on or off always use buttons.
- Fans with 2 to 5 speeds use buttons by default, but you can switch to a slider.
- Fans with 6 to 10 speeds use a slider by default, but you can switch to buttons.
- Fans with more than 10 speeds always use a slider.
If the buttons don’t fit the width of the card, a slider is shown instead, regardless of whether buttons are the default or your own choice.
features:
- type: "fan-speed"
style: "buttons"
Humidifier modes
Widget that displays buttons or icons to control the mode for a humidifier.
features:
- type: "humidifier-modes"
style: "icons"
modes:
- home
- eco
Humidifier toggle
Widget that displays buttons to turn on or off a humidifier.
features:
- type: "humidifier-toggle"
Lawn mower commands
Widget that displays buttons to control a lawn mower.
features:
- type: "lawn-mower-commands"
commands:
- start_pause
- dock
Light brightness
Widget that displays a slider to select the brightness for a light.
features:
- type: "light-brightness"
Light color
Widget that displays controls to select the color for a light.
You can show the hue, the saturation, or both. When both are shown, select the small button next to the control to switch between them.
features:
- type: "light-color"
controls: "hue"
Light color favorites
Widget that displays a set of buttons to select a color for a light from a list of favorites.
You can customize favorites in a light’s more info dialogA dialog that shows information about a single entity.. The feature shows as many favorites as fit in the available width, following the favorites’ sort order.
features:
- type: "light-color-favorites"
Light color temp
Widget that displays a slider to select the color temperature for a light.
features:
- type: "light-color-temp"
Light effect
Widget that displays a dropdown to select an effect for a light.
features:
- type: "light-effect"
Configuration Variables
List of effects to show in the dropdown. Use this to filter or reorder the available effects. The effect names depend on your device and can be found in the effect_list attribute of the entity in Settings > Tools > States. When not specified, all effects supported by the entity are shown.
Lock commands
Widget that displays buttons to lock or unlock a lock.
features:
- type: "lock-commands"
Lock open door
Widget that displays a button to open a door.
features:
- type: "lock-open-door"
Media player playback controls
Widget that displays playback controls for a media player.
features:
- type: "media-player-playback"
controls:
- media_play_pause
- media_previous_track
- media_next_track
- volume_mute
Configuration Variables
List of controls to show on the card. The list can contain turn_on, turn_off, media_play, media_pause, media_play_pause, media_stop, media_previous_track, media_next_track, volume_down, volume_up, volume_mute, shuffle, and repeat. When not specified, the controls are determined automatically based on the capabilities of the media player entity.
Media player sound mode
Widget that displays a dropdown to select the sound mode for a media player.
features:
- type: "media-player-sound-mode"
sound_modes:
- "movie"
- "music"
- "game"
Configuration Variables
List of sound modes to show in the dropdown. Use this to filter or reorder the available sound modes. The sound mode names depend on your device and can be found in the sound_mode_list attribute of the entity in Settings > Tools > States. When not specified, all available sound modes are shown.
Media player source
Widget that displays a dropdown to select the source for a media player.
features:
- type: "media-player-source"
sources:
- "TV"
- "Bluetooth"
- "Radio"
Media player volume buttons
Widget that displays buttons to control the volume for a media player.
features:
- type: "media-player-volume-buttons"
Media player volume slider
Widget that displays a slider to control the volume for a media player.
features:
- type: "media-player-volume-slider"
Numeric input
Widget that displays a slider or buttons to set the value for a number or input number.
features:
- type: "numeric-input"
style: "buttons"
Select options
Widget that displays a dropdown to select an option for a select or input select.
features:
- type: "select-options"
Target humidity
Widget that displays a slider or buttons to select the target humidity for a humidifier or a climate entity.
features:
- type: "target-humidity"
style: "buttons"
Target temperature
Widget that displays buttons or a slider to select the target temperature for a climate or a water heater. For climate entities with a target temperature range, the feature shows separate controls for the low and high targets.
features:
- type: "target-temperature"
style: "slider"
Timer actions
Widget that displays buttons to start, pause, cancel, and finish a timer. Buttons are only enabled when the action is valid for the current timer state. While the timer is running, the start button becomes a restart button, which restarts the timer with the duration it was last started with, ignoring the remaining time.
features:
- type: "timer-actions"
actions:
- start
- pause
- cancel
- finish
Timer presets
Widget that displays the preset durations of a timer. Selecting a preset starts the timer with that duration. Presets can be shown as a row of buttons or as a dropdown.
Presets belong to the timer entity and are managed in its more info dialogA dialog that shows information about a single entity., that you open by selecting the entity. Then go to Menu
features:
- type: "timer-presets"
style: "buttons"
Toggle
Widget that displays a button to toggle a switch or input boolean entity on or off.
features:
- type: "toggle"
Trend graph
Widget that displays a trend of the history for a numeric sensor.
features:
- type: "trend-graph"
hours_to_show: 24
detail: true
Configuration Variables
Hours to show in graph. Minimum is 1 hour. Big values can result in delayed rendering, especially if the selected entities have a lot of state changes.
The hours_to_show option controls the time range of historical data shown in the graph. The amount of history available depends on the Recorder’s purge_keep_days setting. By default, the Recorder purges data older than 10 days. See the Recorder integration documentation for more information.
Update actions
Widget that displays actions to install or skip an update.
features:
- type: "update-actions"
backup: "ask"
Vacuum commands
Widget that displays buttons to control a vacuum.
features:
- type: "vacuum-commands"
commands:
- start_pause
- stop
- clean_spot
- locate
- return_home
Vacuum fan speed
Widget that displays a dropdown to select the fan speed for a vacuum.
features:
- type: "vacuum-fan-speed"
Configuration Variables
List of fan speeds to show in the dropdown. Use this to filter or reorder the available fan speeds. The fan speed names depend on your device and can be found in the fan_speed_list attribute of the entity in Settings > Tools > States. When not specified, all available fan speeds are shown.
Valve open/close
Widget that displays buttons to open, close, or stop a valve.
features:
- type: "valve-open-close"
Valve position
Widget that displays a slider to control the position for a valve.
features:
- type: "valve-position"
Valve favorite positions
Widget that displays a dropdown with favorite positions for a valve.
You can customize favorites in a valve’s more info dialogA dialog that shows information about a single entity.. To edit them, press and hold a favorite.
features:
- type: "valve-position-favorite"
Water heater operation modes
Widget that displays buttons to control the operation mode of a water heater.
features:
- type: "water-heater-operation-modes"
operation_modes:
- electric
- gas
- heat_pump
- eco
- performance
- high_demand
- "off"
Area control
Widget that displays buttons to control different types of entities in your area. You can control all entities of a specific domain or select individual entities.
features:
- type: "area-controls"
controls:
- light
- fan
- switch
- entity_id: light.kitchen_counter
Configuration Variables
List of controls to show on the card. The list can contain domain names like light, fan, and switch, or mappings that specify a particular entity by using the entity_id key, as shown in the example above. If not set, the default set of controls supported in the area is shown.
Temperature forecast
Widget that displays a bar chart of the upcoming high and low temperatures for a weather entity. When the forecast type is set to hourly, a filled curve is shown instead. By default, the bars use a temperature-aware gradient with cool blues for the lowest values and warm reds for the highest values.
features:
- type: "temperature-forecast"
forecast_type: daily
days_to_show: 7
Configuration Variables
The forecast resolution to display. The value can be daily, twice_daily, or hourly. When not specified, the best resolution supported by the entity is used, in this order: daily, twice_daily, hourly.
Number of days to show in the chart. Used when forecast_type is daily or twice_daily.
Number of hours to show in the chart. Used when forecast_type is hourly.
Color to use for the bars or curve. Accepts any Home Assistant color token or CSS color value. When not specified, a temperature-aware gradient is used.
Precipitation forecast
Widget that displays a bar chart of the upcoming precipitation for a weather entity. You can choose between showing the precipitation amount or the precipitation probability. Empty slots are shown as a small dot to keep the timeline easy to read.
features:
- type: "precipitation-forecast"
forecast_type: daily
days_to_show: 7
precipitation_type: amount
Configuration Variables
The forecast resolution to display. The value can be daily, twice_daily, or hourly. When not specified, the best resolution supported by the entity is used, in this order: daily, twice_daily, hourly.
Number of days to show in the chart. Used when forecast_type is daily or twice_daily.
Number of hours to show in the chart. Used when forecast_type is hourly.
What to display on the chart. The value can be amount to show the precipitation amount, or probability to show the chance of precipitation.
Color to use for the bars. Accepts any Home Assistant color token or CSS color value. Defaults to the rainy weather state color.