# Funktionsart für Pollen

**URL:** <https://community.gladysassistant.com/t/type-de-fonctionnalite-pour-le-pollen/8860>\
**Category:** Demandes livrées\
**Tags:** feature-request-ux\
**Created:** [24. April 2024 um 16:50 UTC](https://community.gladysassistant.com/t/type-de-fonctionnalite-pour-le-pollen/8860 "2024-04-24T16:50:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [8. Mai 2024 um 19:07 UTC](https://community.gladysassistant.com/t/type-de-fonctionnalite-pour-le-pollen/8860/2 "2024-05-08T19:07:15Z")

</div>

Hallo @prohand 🙂

Ich habe einen neuen Typ «&nbsp;Risikostufe&nbsp;» hinzugefügt, ich denke, dieser Typ könnte sogar für deine andere Anfrage «&nbsp;Wetterwarnung&nbsp;» ([Type de fonctionnalité pour la vigilance météo](https://community.gladysassistant.com/t/type-de-fonctionnalite-pour-la-vigilance-meteo/8890)) nützlich sein.

Der Titel kann natürlich vom Benutzer gewählt werden, und es gibt 4 Arten von Symbolen:

 ![Screenshot 2024-05-08 at 20.54.55](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/5/d/5df1783102ad58627f2bd2c1f186bb38bc25680f.png)

 ![Screenshot 2024-05-08 at 20.55.06](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/0/a/0ab66f85bf2839aa2799c05ea23b0ef9bdd60070.png)

 ![Screenshot 2024-05-08 at 20.55.11](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/f/9/f91a56b1fd7fb9af5dfa487f2b90eaa8d667fe44.png)

 ![Screenshot 2024-05-08 at 20.55.17](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/a/4/a44676deab466355178e8f7ab59c7d08478f46fc.png)

 ![Screenshot 2024-05-08 at 20.57.05](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/d/c/dc277f1b90ca53d1c319033a1270fe9647525efb.png)

Auf der MQTT-Seite gibt es 4 Werte zu senden, dieselben, die du in deinem Beitrag spezifiziert hast:

0 = Kein Risiko (Grüner Hintergrund)  
1 = Gering (Gelber Hintergrund)  
2 = Mittel (Oranger Hintergrund)  
3 = Hoch (Roter Hintergrund)

Der PR ist relativ einfach:

> <https://github.com/GladysAssistant/Gladys/pull/2068>
>
> \### 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\] If your changes affects code, did your write the tests?
> \- \[x\] Are tests passing? (\`npm test\` on both front/server)
> \- \[x\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[x\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[x\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on 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.
> 
> \### Description of change
> 
> !\[Screenshot 2024-05-08 at 20 54 55\](https://github.com/GladysAssistant/Gladys/assets/7365207/ed1d98c2-0e1f-41ba-b3a6-62185909fb69)
> !\[Screenshot 2024-05-08 at 20 55 06\](https://github.com/GladysAssistant/Gladys/assets/7365207/b3dfacc6-a6ea-43f8-8910-07108f7cca3b)
> !\[Screenshot 2024-05-08 at 20 55 11\](https://github.com/GladysAssistant/Gladys/assets/7365207/f92b5165-7b03-4868-9e07-381b77311f99)
> !\[Screenshot 2024-05-08 at 20 55 17\](https://github.com/GladysAssistant/Gladys/assets/7365207/cd2d3098-29a7-4156-ac65-5131620e433b)
> !\[Screenshot 2024-05-08 at 20 57 05\](https://github.com/GladysAssistant/Gladys/assets/7365207/899fa6fc-2350-4e23-8896-2b2788311355)

Was denkst du? 🙂

---

_[View the full topic](https://community.gladysassistant.com/t/type-de-fonctionnalite-pour-le-pollen/8860)._
