# Setting temperature thresholds in the "room temperature" widgets

**URL:** <https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070>\
**Category:** Demandes livrées\
**Tags:** feature-core, feature-request-ux\
**Created:** [September 1, 2024, 9:02am UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070 "2024-09-01T09:02:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [September 1, 2024, 9:02am UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/1 "2024-09-01T09:02:07Z")

</div>

\*\*Hello,  
I remember this topic was raised but then forgotten. So since I’m interested in it, I’m bringing it up again.  
This is about being able to set the temperature thresholds to the nearest degree. Currently we can do it, but the problem is that between the low threshold setting and the high threshold setting there is a fixed 10°C gap that cannot be compressed. In other words, when you raise the low threshold, the high threshold shifts accordingly, maintaining a 10°C gap; and vice versa. Couldn’t we reduce that gap to just 1°C?  
Do these thresholds only serve to change the colors of the room temperature icons? I use them to visualize my rooms’ temperatures at a glance

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/a/6/a605542fdf7328f0449215a3da170c23a4a407c7.png)

Hoping this interests people! Please vote  
Thanks in advance \*\*

---

<div class="post-metadata">

**Author:** ![GBoulvin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gboulvin/32/10006_2.png) [@GBoulvin](https://community.gladysassistant.com/u/GBoulvin)\
**Post date:** [September 1, 2024, 10:20am UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/2 "2024-09-01T10:20:02Z")

</div>

Thanks for bringing the topic back up!  
Indeed, I had the same thought recently and this improvement would be welcome.  
However, I remember that the problem with being able to make the adjustment to the nearest degree was that the sliders overlapped.  
So we should try to find a compromise between useful and usable.  
Maybe a minimum threshold of 4 or 5 degrees?

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [September 1, 2024, 10:23am UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/3 "2024-09-01T10:23:20Z")

</div>

Maybe we just need to find how to tweak the UI to get a good result!  
I also find that as it stands it’s hardly usable (in any case not very relevant)

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [September 1, 2024, 10:39am UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/4 "2024-09-01T10:39:29Z")

</div>

I’d prefer to have the adjustment to the nearest degree; for the overlap I don’t think it’s that serious, since it’s only used for the setup and you don’t see it afterward. The problem is being able to select the right slider when they’re on top of each other. 🤔

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [September 1, 2024, 5:26pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/5 "2024-09-01T17:26:10Z")

</div>

- be able to modify the min/max of the threshold bar.
- have the option to fill via text fields (even though I find the selector very nice, in this case it clearly prevents desirable flexibility for each user)
- separate min selector and max selector, so a blue/green selector and a green/red one below (already suggested, I believe)

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [September 1, 2024, 6:02pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/6 "2024-09-01T18:02:48Z")

</div>

For me the last point is the most effective in this situation. Indeed we had already suggested it 👍

The discussion in question is here:

> [@Amélioration widgets Température et Hygrométrie de la pièce](https://community.gladysassistant.com/t/amelioration-widgets-temperature-et-hygrometrie-de-la-piece/8247):
>
> Une valeur de température ou d’hygrométrie peut varier en fonction d’une pièce : L’hygrométrie sera plus élevé dans la salle de bain que dans une chambre etc Ca serait donc intéressant de permettre de définir des seuils de type bas/normal/élevé sur les widgets Température et Hygrométrie de la pièce pour avoir une information couleur fiable sur ces dashboards via ces widgets. Il me semble qu’il existe uniquement des seuils génériques pour le widget Humidité (couleur du logo). Aujou…

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [January 18, 2025, 8:41pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/7 "2025-01-18T20:41:06Z")

</div>

Good evening everyone,  
I’m bringing this topic back up because I see solutions checked everywhere but the problem is not fixed, as the temperature thresholds for the rooms still have a 10-degree adjustment gap between the min and the max. It would be preferable to have only a 1-degree gap; that would allow temperature regulation in the rooms.

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [January 19, 2025, 8:19pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/8 "2025-01-19T20:19:20Z")

</div>

Hi @Psoy,

Great to follow up, but could you also share your perspective on the proposed solutions so we can open a PR?

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [January 19, 2025, 8:46pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/9 "2025-01-19T20:46:46Z")

</div>

Good evening @Terdious  
For me the presentation is fine, I’d just like the min-max temperature difference to be only one degree instead of the 10 currently. I hope I answered your question correctly 🙂  
Thanks for taking an interest in the subject.

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [January 20, 2025, 1:02pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/10 "2025-01-20T13:02:23Z")

</div>

Would this work for you :

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/5/e/5ec4cc4ba82ea69756740508390860edac5ad279.png)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 20, 2025, 1:11pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/11 "2025-01-20T13:11:08Z")

</div>

Do you have a video showing how to use it?

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [January 20, 2025, 1:11pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/12 "2025-01-20T13:11:28Z")

</div>

I’ll do that for you ^^

EDIT :  
@pierre-gilles here it is :  
 ![visu temp](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/3/6/3645d7fdaf86a2c99bc9ec14d69b24cfc33dd0cd.gif)  
Why not add a line under the top bubble and on the bottom bubble =\> shouldn’t be too complicated ^^

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 20, 2025, 1:24pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/13 "2025-01-20T13:24:58Z")

</div>

That seems fine to me! 🙂

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [January 20, 2025, 1:39pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/14 "2025-01-20T13:39:26Z")

</div>

It’s good:

> <https://github.com/GladysAssistant/Gladys/pull/2200>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[x\] Are tests passing? (\`npm test\` on both front)
> \- \[x\] Is the linter passing? (\`npm run eslint\` on both front)
> \- \[x\] Did you run prettier? (\`npm run prettier\` on both front)
> \- \[x\] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to the community (\[french forum\](https://community.gladysassistant.com/)/\[english forum\](https://en-community.gladysassistant.com/)) for testing before merging.
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Related to the topic https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070
> !\[visu temp\](https://github.com/user-attachments/assets/28dbd9cb-a9b3-4efa-ba5f-e9ef6e80cfba)
> 
> and https://community.gladysassistant.com/t/reduire-les-valeurs-des-echelles-des-widgets-de-temperature/8429

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [January 20, 2025, 2:03pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/15 "2025-01-20T14:03:02Z")

</div>

@pierre-gilles,  
I only think of it afterwards because I don’t use it, even though we’re on the topic «&nbsp;room temperature&nbsp;», should I replicate for «&nbsp;room humidity&nbsp;» in the same PR?  
Would therefore give:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/f/d/fdbce20abe7a6775ef36c239ad435a2f96121b7e.png)

Confirm for me, I just need to push.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 20, 2025, 2:33pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/16 "2025-01-20T14:33:34Z")

</div>

> [@Terdious](#):
>
> I only think of it afterwards because I don’t use it, even though we’re on the topic «&nbsp;room temperature&nbsp;», should I do the same for «&nbsp;room humidity&nbsp;» in the same PR?

Yes, absolutely!

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [January 20, 2025, 3:47pm UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/17 "2025-01-20T15:47:11Z")

</div>

> [@Terdious](#):
>
> Would this suit you:

Great, I’m fine 👍

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 24, 2025, 10:54am UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/19 "2025-01-24T10:54:20Z")

</div>

It’s tested, it works perfectly for me 🙂

Merged and it’s going into the next Gladys release!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 31, 2025, 11:20am UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/20 "2025-01-31T11:20:12Z")

</div>

Fixed in Gladys Assistant 4.52.0:

> [@Gladys Assistant 4.52.0 : Améliorations UX à la pelle!](https://community.gladysassistant.com/t/gladys-assistant-4-52-0-ameliorations-ux-a-la-pelle/9349?u=pierre-gilles):
>
> Salut à tous ! On vous a écouté blush Je sors aujourd’hui Gladys Assistant 4.52.0, une version qui apporte pas mal de correctifs sur l’expérience utilisateurs. Changements : • Création de scène : Correction d’un bug où les caractères spéciaux en fin de titre de scène empêchait la création de la scène (@Pierre-Gilles) • Graphiques : Correction des problèmes de fuseau horaire, détecté par @lmilcent au Canada. (@Pierre-Gilles) • Validation des utilisateurs : Correction d’un problème lors de…

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 31, 2025, 11:20am UTC](https://community.gladysassistant.com/t/reglage-des-seuils-de-temperature-dans-les-widjets-temperature-de-la-piece/9070/21 "2025-01-31T11:20:14Z")

</div>


