Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UX Improvement] Creating an MQTT device with incorrect min or max values should be indicated instead of the default error message #2232

Closed
LM1LC3N7 opened this issue Feb 13, 2025 · 1 comment · Fixed by #2244

Comments

@LM1LC3N7
Copy link
Contributor

Describe the bug
When creating a new MQTT device, if I indicate a minimum value but not a maximum value, a default and generic message is displayed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to MQTT integration
  2. Create a new MQTT device
  3. Add a new capability
  4. Add a name, set a minimal value but not the max value and save
  5. See error

Expected behavior
A clear error message with the input highlighted in red for example, saying the max value is not set and is mandatory.

Screenshots

Image

Image

@Pierre-Gilles
Copy link
Contributor

Fixed with a simple update:

🔗 #2244

In the medium term, the plan is to enhance this view with the improvements discussed here:

🔗 https://community.gladysassistant.com/t/catalogue-des-features-supportees-en-mqtt/8452/17?u=pierre-gilles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants