Hola @prohand
He añadido un nuevo tipo « Nivel de riesgo », creo que este tipo también puede servir para tu otra solicitud « Vigilancia meteorológica » ( Type de fonctionnalité pour la vigilance météo )
El título, por supuesto, será elegido por el usuario, y hay 4 tipos de iconos :
En cuanto a MQTT, hay 4 valores a enviar, los mismos que especificaste en tu publicación:
0 = Sin riesgo (Fondo verde)
1 = Bajo (Fondo amarillo)
2 = Medio (Fondo naranja)
3 = Alto (Fondo rojo)
La PR es relativamente simple:
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





¿Qué opinas?