Français

Carte Pièce — Home Assistant card

A whole room drawn on a single Home Assistant card: lights, blinds, heating, TV and air quality, in three styles.

Available on requestHomeMinimum Home Assistant 2024.8.0

Available on request. This card is not published on HACS, but you can get it: write to me to ask for it. Request this card

Carte Pièce Home Assistant card screenshot (1/3)

Overview

Carte Pièce (Room Card) replaces the Home Assistant area card: the whole room fits on a single, drawn card. In the isometric diorama, lamps light the floor in their own color, the window shows the current sky, the blind lowers to its position, the radiator glows when heating and the TV shows the cover art of what is playing. The Plan style shows the same room from above, and the Atmosphere style fills the card with the air of the room.

The scenery follows the room type (living room, bedroom, kitchen, bathroom, office, garden, garage), detected from the area name and icon. One line is enough, area: living_room: the sensors, lights, blinds, windows, presence, thermostat and TV of the area are found automatically.

The card also gives advice: window open while the heating is on, CO₂ too high, lights on with nobody in the room.

Features

  • Three styles: isometric diorama, top-down plan, atmosphere
  • Scenery matched to the room type: living room, bedroom, kitchen, bathroom, office, garden, garage
  • One configuration line is enough (area): the entities of the area are detected automatically
  • Air color from blue (too cold) to red (too hot) and a comfort badge
  • 24-hour charts, minimum, maximum and one-hour trend
  • Thermostat and air conditioner controlled from the card: setpoint, modes, fan, presets
  • Device chips: tap to switch on or off, long press to open the entity
  • Advice: ventilate, window open while heating, lights left on
  • Visual editor, dark and light themes, French and English

Configuration

type: custom:carte-piece
area: salon

Options

OptionTypeDefaultDescription
areazoneaucuneHome Assistant area: its entities are found automatically. Required if no entity is given
nametextenom de la zoneDisplayed name
iconicôneicône de la zone, sinon celle du type de pièceHeader icon
colorcouleurselon le type : salon orange, chambre violet, cuisine vert, salle de bain cyan, bureau bleu, jardin vert clair, garage gris-bleu, autre couleur primaireRoom color (sofa, blanket, rug, presence…): theme color name such as purple, or a CSS color
stylediorama / plan / atmospheredioramaRoom in 3D, top-down view, or the air of the room as background
room_typeauto / salon / chambre / cuisine / salle_de_bain / bureau / jardin / garage / autreautoRoom scenery. auto: detected from the card name, the area name or ID, then its icon (“Emma’s bedroom”, bathroom, mdi:bed, “Terrace”, mdi:garage…); other if nothing matches. garden is outdoors: house front, fence and gate, garden lights, no comfort badge or ventilation advice. garage: sectional door, workbench, ceiling lights
floorauto / parquet / carrelage / herbe / beton / uniautoFloor of the diorama and plan. auto: tiles in the kitchen and bathroom, grass in the garden, concrete in the garage, parquet elsewhere
temperature, humidity, co2entitédétectéeMain sensors. Without a temperature sensor, the thermostat temperature is used
climate, mediaentitédétectéeThermostat or air conditioner, TV. An air conditioner (cool, dry or fan_only mode) is drawn as a wall unit, a thermostat as a radiator
climate_optionslisteinterrupteurs de l'appareilSwitches grouped under “Options” in the thermostat controls. By default, all the switches of the thermostat's device (even outside the area); they then leave the chips
gateentité cover ou binary_sensordétectéeGarage door or gate (garage or gate cover, garage_door sensor): sectional door in the garage, gate in the garden. A tap opens its entity, never opens it directly. Open for more than 10 min: advice
lights, covers, windows, doors, motion, fans, switches, sensorslistedétectéeAn entity, or { entity, name, icon, unit } to change its name, icon or unit. A written list replaces the detection for that role; [] for none
excludelisteaucuneArea entities to ignore
temp_min / temp_maxnombre19 / 24Comfortable temperature range
hum_min / hum_maxnombre40 / 60Comfortable humidity range (%)
co2_warn / co2_critnombre1000 / 1500CO₂ thresholds (ppm): ventilate, stuffy air
empty_minutesnombre15Lights on with nobody present for this many minutes: advice
decimalsnombreprécision de l'entitéTemperature decimals
show_scenebooléentrueShow the room drawing (diorama or plan)
show_sensorsbooléentrueTemperature, humidity, CO₂ and extra sensors
show_climatebooléentrueThermostat controls (setpoint, modes, options). false: a chip as before
show_chipsbooléentrueDevice chips
show_advicebooléentrueAdvice line
show_historybooléentrue24-hour charts, minimum / maximum, trend
sunbooléentrueReal sky in the windows, from sun.sun
animationbooléentrueAnimations (already paused off-screen and when the system asks for reduced motion)
colorsobjetCard colors: cold, mild, hot (air), heat, cool, dry, fan, auto (thermostat modes, air conditioner airflow), light (lamp without color), wood (wooden furniture), water (bath water)
tap_action / hold_actionactionfiche du capteur de température / aucuneHeader actions, in Home Assistant format

FAQ

When will Carte Pièce be available?

It is being finished. It will be published on GitHub and installable with HACS; this page will be updated when it is released.

Do I have to list every entity?

No: area: living_room is enough. The sensors, lights, blinds, windows, presence, thermostat and TV of the area are found automatically. A written list replaces the detection for a given role.

Which room types are drawn?

Living room, bedroom, kitchen, bathroom, office, garden and garage, each with its own furniture. The type is detected from the area name and icon, or chosen in the editor.

Can I control the heating or air conditioner from the card?

Yes: setpoint, modes (off, cool, heat, dry, fan, auto), fan speed, swing and presets. An air conditioner is drawn as a wall unit, a heating thermostat as a radiator.

Screenshots

Carte Pièce Home Assistant card screenshot (2/3)Carte Pièce Home Assistant card screenshot (3/3)

More cards