@pierre-gilles , entonces he creado un nuevo tema con la adición de las funcionalidades específicas para el LixeeTIC.
Sin embargo, actualmente esto rompe el panel de control para aquellos que tienen un panel de control con el LixeeTIC. Por lo tanto, creo que hay que hacer una migración, pero no he tenido tiempo de ocuparme de ello.
¡Vale! No dudes en preguntar si tienes preguntas sobre la migración
@pierre-gilles , vuelvo al tema de la migración que quiero hacer.
Supongo que es en la carpeta server/migrations donde se hace.
¿Cómo se forma el nombre del archivo? Porque veo que todos los archivos tienen una fecha/hora en el nombre.
¿Cuándo se ejecuta el archivo? ¿Al iniciar Gladys?
Se utiliza la herramienta de migración de Sequelize:
Just like you use version control systems such as Git to manage changes in your source code, you can use migrations to keep track of changes to the database. With migrations, you can transfer your existing database into another state and vice versa:...
Puedes crear una migración ejecutando en la carpeta server:
npx sequelize-cli migration:generate --name nombre-de-la-migracion
Will_71:
¿Al iniciar Gladys?
Cuando desarrollas, puedes hacer:
npm run db-migrate:dev
O para las pruebas:
npm run db-migrate:test
De lo contrario, sí, se ejecutará al iniciar Gladys (una sola vez)
Si miras en tu base de datos SQLite, verás que hay una tabla que lista las migraciones que ya se han ejecutado.
gracias, te aviso en cuanto la PR esté lista con la migración
@pierre-gilles , el PR está listo. He añadido la migración.
master ← William-De71:lixee-tic
ouvert 09:25PM - 17 Oct 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] 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.
NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
### Description of change
Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!


Por mi parte, lo he probado en la práctica y funciona. Puedo generar una imagen si es necesario si alguien quiere probar.
Genial si lo has probado
He hecho una pequeña revisión, tengo un comentario:
master ← William-De71:lixee-tic
ouvert 09:25PM - 17 Oct 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] 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.
NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
### Description of change
Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!


Esta función está disponible en Gladys Assistant 4.49:
Salut à tous !
Nouvelle version de Gladys aujourd’hui, avec des fonctionnalités vraiment sympa
Déclencheur avec délai dans les scènes
Il est désormais possible d’ajouter un délai avant le déclenchement d’une scène sur valeur de capteur.
Par exemple, si vous avez un capteur de mouvement, et que vous voulez vérifier qu’il n’y a pas de mouvement pendant au moins 5 minutes avant de couper la lumière, vous pouvez désormais faire ça :
[Screenshot 2024-11-04 at 17.19.46]
Cette condition …