Hallo @prohand
Ich habe einen neuen Typ « Risikostufe » hinzugefügt, ich denke, dieser Typ könnte sogar für deine andere Anfrage « Wetterwarnung » (Type de fonctionnalité pour la vigilance météo ) nützlich sein.
Der Titel kann natürlich vom Benutzer gewählt werden, und es gibt 4 Arten von Symbolen:
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:
master ← add-new-risk-feature
ouvert 07:02PM - 08 May 24 UTC
### 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





Was denkst du?