Cards / Home Assistant 2026.8

Comfort and air-quality card

Temperature, humidity, CO₂, and thermostat controls in one compact block with 24-hour trends.

Starter12 minNo HACS requiredVerified syntax
Replace your entities
01

Outcome

Build a standalone card you can place on any dashboard to monitor and adjust room comfort.

02

Before you start

  • Numeric temperature, humidity, and CO₂ sensors.
  • A climate entity for thermostat control.
  • Recorder enabled to show historical trends.

02 / Workflow

Guided installation

Follow the steps in order. The configurator below generates the block you need to paste.

  1. 01

    Open the target view

    Open the dashboard and the view where you want the card to appear.

  2. 02

    Add a manual card

    Select Add card, then Manual to open the YAML editor for a single card.

  3. 03

    Configure and paste

    Enter your entities below, copy the code, and replace the manual card’s content.

  4. 04

    Save and check

    Confirm that values, units, and controls match your real entities.

YAML configurator

Replace your entities

Enter the real entity IDs from your installation. The code updates immediately and flags invalid values.

Valid configuration
Generated code
type: vertical-stack
cards:
  - type: heading
    heading: "Comfort"
    icon: mdi:home-thermometer-outline
  - type: grid
    columns: 2
    square: false
    cards:
      - type: tile
        entity: sensor.temperatura_soggiorno
        name: "Temperature"
        color: deep-orange
        features:
          - type: trend-graph
            hours_to_show: 24
      - type: tile
        entity: sensor.umidita_soggiorno
        name: "Humidity"
        color: light-blue
        features:
          - type: trend-graph
            hours_to_show: 24
      - type: tile
        entity: sensor.co2_soggiorno
        name: "CO₂"
        color: teal
        features:
          - type: trend-graph
            hours_to_show: 24
      - type: tile
        entity: climate.soggiorno
        name: "Climate"
        features:
          - type: target-temperature

Entity map

Where to find entity IDs and actions

  1. 01

    Open Settings → Devices & services → Entities.

  2. 02

    Find the device and copy its full ID, such as sensor.living_room_temperature.

  3. 03

    For notifications, open Settings → Developer tools → Actions and search for notify.mobile_app.

  4. 04

    Paste each value into the matching field and copy the YAML only when every check is green.

Source first

Official references

The syntax and components in this project were checked against these Home Assistant pages.

01home-assistant.io · dashboards / cards02home-assistant.io · dashboards / tile03home-assistant.io · dashboards / features
Tested with: Home Assistant 2026.8 · 2026-08-23