π‘β Why I wanted to modernise the display of temperatures
On my Home Assistant dashboard, I display the temperatures directly on the map of the house.
This is convenient: I immediately see the temperature in each room, without the need to open another page.
Until now, I used elements state-badge. The result was clearly legible, with a temperature displayed roughly in a round badge.
But I wanted something that was visually lighter, that fits better into the plan and also shows the humidity.
The idea was not to change my sensors or redo my entire dashboard. I just wanted to present the same information differently.
π My old display with state badges
My initial configuration was quite simple: one element per sensor, positioned on the plane with the properties top and left.
Note that these cards are included in a card of type: picture-elements general
Here is, for example, the code I used for my living room:
- type: state-badge entity: sensor.temperature_salon_temperature style: top: 98% left: 22% font-size: 40px text-align: center font-weight: bold color: transparent
This display was doing the job. The temperature was visible and each badge had its place on the plane.
But the badge took on an important visual position, with its dark background and the unit displayed in a separate insert.

π§© The cards I have selected
For this new display, I used the project Appliance Appliance Appliance Cards from Skyrotter or (nicolas59 on HACF).
The name is mostly reminiscent of washing machines, refrigerators and other equipment in the house. But in my case, it is the mood map of a room that interests me: custom:appliance-room-climate-card.
For the new gauges, I also put you the link to the message on the HACF forum:
The HACF discussion around maps and new gauges.
I will use a tiny part of the possibilities of the format gauge :

The aim, at home, is to keep only the information that is useful in terms of temperature and humidity, without adding a large full map per room.
π¦ Installation in Home Assistant
π Installation with HACS
To install the cards, the easiest way is to go through HACS.
In HACS, search Animated Appliance & Energy Cards, then download the project (version higher than v1.52.0)

Once the download is complete, reload the Home Assistant page. On a computer, you can use Ctrl + F5 to force the browser to reload.
If the project does not appear in the search, you can add it manually:
- Open HACS.
- Open the menu with the three dots.
- Go to custom repositories.
- Add the address of the deposit below.
- Choose the category of dashboard cards, called
Dashboardin the project documentation. - Then search for the project in HACS and download it.
https://github.com/skyrotter/ha-appliance-electromenager-cards
Remember to reload your browser after installation.
π β The HACS-free alternative
The project also offers manual installation.
In this case, it is necessary to recover the file ha-appliance-electromenager-cards.js present in the file dist of the repository, then copy it to the folder /config/www/ Home Assistant.
It is then necessary to add a resource in the parameters of the dashboards:
- Address:
/local/ha-appliance-electromenager-cards.js - Type: JavaScript module
It is an alternative to HACS. There is no need to do both installations.
π¨ My new display: a circle and a gauge
To integrate the gauge into my plan, I used two overlapping elements:
- A circular image in the background.
- The temperature and humidity map above.
The circle allows the display to be slightly detached from the decor, without completely hiding the room.
The gauge then displays the values and colored arcs.
On my new catch, the temperature appears in the centre and the humidity just below. The result is lighter than my old badge, while giving additional information.

βͺ The circle in the background
I started by adding the image that serves as background:
- type: image image: /local/house/circlebleu.png style: top: 60% left: 42% width: 120px transform: translate(-50%, -50%) opacity: 0.5
In this example, my file is called circlebleu.png.
Here is my file but everyone can customize. There are 3 other colors.
![]() |
![]() |
![]() |
![]() |
It is placed in the folder /config/www/house/, which corresponds to the address /local/house/circlebleu.png used in the dashboard.
This file is an image to be expected from your side: it is not an element provided automatically by the card. You can use your own circular background by adapting the path.
I have retained a width of 120px and an opacity of 0.5. I wanted a visible background, but not an opaque disc that hides the plane.
π‘β The temperature and humidity map
I then added the map to the same location:
- type: custom:appliance-room-climate-card icon: '' entity_temperature: sensor.temperature_salon_temperature entity_humidity: sensor.temperature_salon_humidity temperature_unit: C language: fr show_status: false show_outdoor: false show_dew_point: false show_advice: false show_graph: false animations: false transparent: true name: " " variant: gauge show_trend: false style: top: 60% left: 42% width: 130px illustration_size: 120
This time, the example is about the fair. The entities are therefore different from those of the two outdoor temperatures shown at the beginning of the article.
I use the following two entities:
sensor.temperature_salon_temperaturefor temperature.sensor.temperature_salon_humidityfor moisture.
ββ The settings I have chosen
π§ The presentation in gauge
This presentation is chosen using the following parameter:
variant: gauge
It is this setting that I use to get the display with the arcs around the values.
πͺ A voluntarily lightened display
In terms of the house, I do not need all the information that a full map can offer.
I have therefore deactivated several elements:
show_status: false show_outdoor: false show_dew_point: false show_advice: false show_graph: false show_trend: false
I thus keep the essentials for this view: read the temperature and humidity quickly.
I also use these settings:
transparent: true name: " " icon: '' animations: false
In my setup, I don't want any additional room names or icons, and I disable animations.
The location of the gauge on the plan already provides context. I do not need to repeat βSalonβ there.
π The positioning on the plane
The circle and the map use exactly the same coordinates:
top: 60% left: 42%
This makes it possible to place them in the same place. I played a little bit on width, but it was up to everyone to adapt to their screen.
These dimensions correspond to my plan and my display. They are to be adjusted according to the space available on your dashboard.
Both blocks are to be inserted in the list elements: of my card picture-elements, instead of the old badges concerned.
Therefore, these are not two independent maps to be added elsewhere on the dashboard.
π§Ύ The full code of my new display
To have both elements in the same place in the configuration, here is the complete block that I use for the living room.
The image is declared first, then the gauge:
- type: image image: /local/house/circlebleu.png style: top: 60% left: 42% width: 120px transform: translate(-50%, -50%) opacity: 0.5 - type: custom:appliance-room-climate-card icon: '' entity_temperature: sensor.temperature_salon_temperature entity_humidity: sensor.temperature_salon_humidity temperature_unit: C language: fr show_status: false show_outdoor: false show_dew_point: false show_advice: false show_graph: false animations: false transparent: true name: " " variant: gauge show_trend: false style: top: 60% left: 42% width: 130px illustration_size: 120
To reproduce this display in another room, I take the two elements by changing the entities and the coordinates.
I simply make sure to keep the same values of top and left for the bottom and the gauge of the same piece.
π Bonus: I use decluttering_templates
At this point, my new display works with two elements: the background circle and the gauge.
For a single piece, it is not inconvenient to keep both blocks directly in the dashboard.
But to reproduce this display in several rooms, I will have to copy a good part of the code each time.
And the day I want to change the presentation, it will be necessary to take each block, with the risk of forgetting one.
So I grouped this display in a reusable template with decluttering-card.
π§© What is decluttering_templates used for?
The principle is simple: I define once the structure of my display, then I reuse it by passing some variables.
In my case, the structure always remains the same:
- A circle in the background.
- A temperature and humidity gauge above.
- The same options to keep a light display.
What changes from room to room are the sensors, the position on the plane and possibly the size, colour or opacity of the circle.
I therefore separate the presentation, defined in the template, from the information specific to each item, provided at the time of the call.
π¦ The prerequisite: decluttering-card
This part assumes that the custom card decluttering-card is already installed in Home Assistant.
Be careful not to confuse the two names:
decluttering _templates:is the section in which I declare my models.type: custom:decluttering-cardis the element that calls one of these templates in my dashboard.
The template does not replace the temperature map. It simply reuses its configuration, associating it with my background image.
π‘ My trick to group two elements in a single template
And here is the little trick I share with you for this montage.
Normally, a decluttering template describes a single card with card:, or a single plan element with element:.
This does not mean that it is impossible to group several elements together, but it is necessary to go through a structure that contains them.
In my case, I need two elements: the image of the circle and the temperature map.
So I can't just put two blocks directly under element:. I need something that can contain both.
This is where I use a small diversion of type: conditional.
π A conditional... unconditional!
Usually, an element conditional is used to display items only when certain conditions are met.
But above all it has something very practical for my need: a list elements:, in which I can place several elements.
The principle of grouping, in a simplified form, is as follows:
element: type: conditional conditions: [] elements: - type: image # My background circle - type: custom:appliance-room-climate-card # My temperature and humidity gauge
With conditions: [], I do not define any conditions to meet: in my assembly, the group remains displayed.
The conditional So I don't use it to manage a condition. It serves as a container to bring my two elements together.
This is all the trick: only one element: for decluttering, but two elements inside!
At the time of use, only one call for custom:decluttering-card It is then sufficient to display the circle and gauge together.
πβ Where I place the template
I place the rubric decluttering _templates: at the root of the dashboard YAML configuration, at the same level as views:.
It should therefore not be added to the list elements: of the plan.
If you already have a section decluttering _templates:, just add the template temperature_gauge: inside, next to your other templates.
To make this change, I'm going to Raw Configuration Editor.

π§Ύ The complete template of my gauge
Here is the full code I use:
decluttering_templates: gauge_temperature: default: - width: 120 - opacite_background: 0.5 - color_circle: blue element: type: conditional conditions: [] style: position: absolute top: '[[top]]' left: '[[left]]' width: calc([[width]]px + 10px) height: calc([[width]]px + 10px) transform: translate(-50%, -50%) elements: - type: image image: '/local/house/circle[[color_circle]].png' style: position: absolute top: 50% left: 50% width: '[[width]]px' opacity: '[[opacite_fond]]' transform: translate(-50%, -50%) z-index: 0 - type: custom:appliance-room-climate-card icon: '' entity_temperature: '[[temperature]]' entity_humidity: '[[wet]]' temperature_unit: C language: fr show_status: false show_outdoor: false show_dew_point: false show_advice: false show_graph: false animations: false transparent: true name: " " variant: gauge show_trend: false illustration_size: '[[width]]' style: position: absolute top: 50% left: 50% width: calc([[width]]px + 10px) transform: translate(-50%, -50%) z-index: 1
π I position the group, then I superimpose the elements
The position on the plane is defined on the container, with the coordinates transmitted to the template:
top: '[[top]]' left: '[[left]]'
These coordinates move the whole: the circle and the gauge remain associated.
Within the group, I focus both elements with the same properties:
position: absolute top: 50% left: 50% transform: translate(-50%, -50%)
This is what allows them to be superimposed.
I insist on this point because I encountered the problem during my tests: without this internal positioning, the circle and the map were displayed one above the other, instead of being superimposed.
Finally, I define z-index: 0 on the circle and z-index: 1 on the gauge to keep the background behind the information.
π A single variable to manage size
I have chosen to keep only one size variable: width.
Its value is a number without a unit, for example:
- width: 120
This is important because the parameter illustration_size of the card expects here a value like 120, not 120px :
illustration_size: '[[width]]'
For CSS properties, I therefore add the unit directly in the template:
width: '[[width]]px'
And for the card and its container, I keep a width greater than 10 pixels:
width: calc([[width]]px + 10px)
With a value of 120, so my bottom measures 120px wide and map 130px.
I no longer need to fill in two widths separately.
Be careful, in calls to the template, you must write width: 120, without adding px.
π¨ I choose the color of the circle
To change the colour of the background, I have set the variable color_circle.
The image path is constructed with this value:
image: '/local/house/circle[[color_circle]].png'
With color_circle: blue, the template uses:
/local/house/circlebleu.png
With color_circle: orange, it uses:
/local/house/cercleorange.png
I can thus choose from the four funds presented above:
bluebeigegreenorange
You must of course have placed the corresponding files in the folder /config/www/house/, retaining those names.
This variable only changes the background image. It does not change the colors of the gauge arches.
π§ Default values
The block default: defines the values used when I do not specify them in the call:
default: - width: 120 - opacite_background: 0.5 - color_circle: blue
If I do not ask for anything special, then I get a blue circle of 120px wide, with an opacity of 0.5.
I can replace these values for a specific part, without changing the common model.
On the other hand, temperature and humidity entities and coordinates top and left must be filled in each call in this template.
π The call for my living room
In the list elements: of my card picture-elements, I am now replacing the two old blocks with this one call:
- type: custom:decluttering-card template: jauge_temperature variables: - temperature: sensor.temperature_salon_temperature - humidite: sensor.temperature_salon_humidity - top: 60% - left: 47% - width: 120 - color_circle: blue
But since I use the default values, I can simplify by:
- type: custom:decluttering-card template: jauge_temperature variables: - temperature: sensor.temperature_salon_temperature - humidite: sensor.temperature_salon_humidity - top: 60% - left: 47%
Here, I use the sensors of the show, I place the group at 60% from above and 47% from the left, and I choose the orange background.
The width remains at 120. I left it in the example to show where to change it, but I could delete this row as it is already the default.
Same for opacity: as it does not appear in this call, the template keeps 0.5.

π I reuse the display in other rooms
To add another gauge, I only duplicate this small call block.
I replace the two entities and the coordinates and then adjust the width, colour or opacity if necessary.
For example, if I want a smaller display, I can use:
- width: 80
And if I want to make the background more discreet:
- opacite_fond: 0.3
These lines must be entered in the list variables: of the relevant call.
I no longer have to copy the entire layout of the map or image.
And if I want to modify an option common to all my gauges, I do it in the template rather than in each room.
This is especially what I was looking for: a configuration that is easier to maintain, without losing the possibility of adapting each display.
β What I gained with this change
In the end, I keep the operation I already loved: the temperatures remain directly visible on the plane of the house.
But now I have a lighter presentation, with the humidity in the same place.
And thanks to the template, I can reproduce this display in several rooms without multiplying the identical configuration blocks.
The small diversion of the conditional Allows me to keep the circle and gauge together, with a single call for each piece.
π― Conclusion
I have not changed my sensors or the principle of my dashboard.
I simply replaced my old badges with gauges, added a discreet background and grouped it all in a reusable model.
The result suits me better visually, and the configuration remains simpler to evolve.
For me, this is a good way to modernise an existing dashboard: improve the presentation, without starting all over again.














































































