Esta función es bastante crucial, de hecho, y bastante simple de desarrollar, así que he adelantado su desarrollo a pesar de que tenga pocos votos
He trabajado en ello ayer por la tarde y esta mañana:
Control de un dispositivo multilevel
Control de un dispositivo de color
Control de la temperatura de una lámpara
Control de un dispositivo binario
De hecho, el objetivo de esta nueva acción es poder controlar absolutamente todos los tipos de dispositivos en las escenas. Y sí, es redundante con la acción « encender/apagar las luces » o « encender/apagar los enchufes », pero estas dos acciones son, en mi opinión, « atajos » para ir más rápido y encender varias lámparas a la vez
La PR está aquí:
master ← new-state-action-scene
ouvert 03:02AM - 15 Jul 21 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] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
- [x] If you are adding a new features/services which needs explanation, did you modify the user documentation? See [the GitHub repo](https://github.com/GladysAssistant/v4-website) and the [website](https://gladysassistant.com).
- [x] Did you add fake requests data for the demo mode (`front/src/config/demo.json`) so that the demo website is working without a backend? (if needed) See [https://demo.gladysassistant.com](https://demo.gladysassistant.com).
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!