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 request. This card is not published on HACS, but you can get it: write to me to ask for it. Request this card
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
| Option | Type | Default | Description |
|---|---|---|---|
area | zone | aucune | Home Assistant area: its entities are found automatically. Required if no entity is given |
name | texte | nom de la zone | Displayed name |
icon | icône | icône de la zone, sinon celle du type de pièce | Header icon |
color | couleur | selon le type : salon orange, chambre violet, cuisine vert, salle de bain cyan, bureau bleu, jardin vert clair, garage gris-bleu, autre couleur primaire | Room color (sofa, blanket, rug, presence…): theme color name such as purple, or a CSS color |
style | diorama / plan / atmosphere | diorama | Room in 3D, top-down view, or the air of the room as background |
room_type | auto / salon / chambre / cuisine / salle_de_bain / bureau / jardin / garage / autre | auto | Room 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 |
floor | auto / parquet / carrelage / herbe / beton / uni | auto | Floor of the diorama and plan. auto: tiles in the kitchen and bathroom, grass in the garden, concrete in the garage, parquet elsewhere |
temperature, humidity, co2 | entité | détectée | Main sensors. Without a temperature sensor, the thermostat temperature is used |
climate, media | entité | détectée | Thermostat 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_options | liste | interrupteurs de l'appareil | Switches 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 |
gate | entité cover ou binary_sensor | détectée | Garage 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, sensors | liste | détectée | An entity, or { entity, name, icon, unit } to change its name, icon or unit. A written list replaces the detection for that role; [] for none |
exclude | liste | aucune | Area entities to ignore |
temp_min / temp_max | nombre | 19 / 24 | Comfortable temperature range |
hum_min / hum_max | nombre | 40 / 60 | Comfortable humidity range (%) |
co2_warn / co2_crit | nombre | 1000 / 1500 | CO₂ thresholds (ppm): ventilate, stuffy air |
empty_minutes | nombre | 15 | Lights on with nobody present for this many minutes: advice |
decimals | nombre | précision de l'entité | Temperature decimals |
show_scene | booléen | true | Show the room drawing (diorama or plan) |
show_sensors | booléen | true | Temperature, humidity, CO₂ and extra sensors |
show_climate | booléen | true | Thermostat controls (setpoint, modes, options). false: a chip as before |
show_chips | booléen | true | Device chips |
show_advice | booléen | true | Advice line |
show_history | booléen | true | 24-hour charts, minimum / maximum, trend |
sun | booléen | true | Real sky in the windows, from sun.sun |
animation | booléen | true | Animations (already paused off-screen and when the system asks for reduced motion) |
colors | objet | Card 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_action | action | fiche du capteur de température / aucune | Header 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
