mikael
9 Septiembre, 2021 18:36
1
Hola,
¿Cómo puedo cambiar de °F a °C en las respuestas de Gladys en Telegram?
Gracias de antemano,
Ve a « Configuración » => « Usuarios » y luego puedes editar tu usuario y poner la unidad de temperatura que quieras
Nota: Sé que teníamos un error en eso hace unas versiones de Gladys (se usaba Fahrenheit en lugar de Celsius), verifica que estés en la última versión de Gladys (v4.5.1), puedes verificar en « Configuración » => « Sistema »
mikael
10 Septiembre, 2021 11:40
3
El usuario está bien en celsius y yo estoy bien en 4.5.1.
Para ser más preciso, cuando pido el tiempo a gladys a través de Telegram me muestra bien °C, pero cuando pido la temperatura de una habitación me pone °F.
¿Cuáles son las frases que funcionan y las que te devuelven °F?
Me gustaría la frase exacta, debe ser un error
mikael
10 Septiembre, 2021 12:11
5
¿cuál es la temperatura del salón?
¿qué temperatura hace en la <habitación>?
hombre, y si escribo: "la? " me dice la temperatura que hace fuera
¡Vale, bien notado!
He creado un informe de errores en GitHub, lo revisaré y te aviso
ouvert 07:15AM - 11 Sep 21 UTC
fermé 10:53AM - 12 Nov 21 UTC
https://community.gladysassistant.com/t/configuration-unite-de-temperature-via-t… elegram/6512/5
@mikael Para informarte, intenté trabajar en este error, no puedo reproducirlo, todo funciona en mi caso:
¿Confirmas que en tu perfil has puesto tu cuenta en « Celsius »?
No dudes en cambiar/volver a poner en celsius para estar seguro
mikael
12 Noviembre, 2021 08:26
8
En la caja de discusión, cuando pregunto la temperatura de una habitación, me la muestra en grados Celsius, pero cuando lo pregunto a través de Telegram, me la muestra en grados Fahrenheit.
Ya había hecho el cambio en el perfil.
Acabo de corregir el error aquí:
master ← fix-telegram-temperature-unit-bug
ouvert 08:51AM - 12 Nov 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:
- [ ] If your changes affects code, did your write the tests?
- [ ] Are tests passing? (`npm test` on both front/server)
- [ ] Is the linter passing? (`npm run eslint` on both front/server)
- [ ] Did you run prettier? (`npm run prettier` on both front/server)
- [ ] If you are adding a new features/services, did you run integration comparator? (`npm run compare-translations` on front)
- [ ] 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](https://community.gladysassistant.com/) for testing before merging.
- [ ] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
- [ ] 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).
- [ ] Did you add fake requests data for the demo mode (`front/src/config/demo.js`) 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!