The "step" variable does not work for number in the box mode
Checklist
- [X] I have updated to the latest available Home Assistant version.
- [X] I have cleared the cache of my browser.
- [X] I have tried a different browser to see if it is related to my browser.
- [X] I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.
Describe the issue you are experiencing
Hello! I found the following problem when configuring mqtt number in box mode: I specify the step variable and assign it a certain value... However, then, when I enter a value in the mqtt number cell that is not a multiple of the specified step value (for example, step=300, and I enter 450), a red border appears along the lower border of the cell, indicating that an incorrect value has been entered! However, after pressing the "enter" key (or exiting the cell by selecting any other interface element), the incorrect value entered into the cell is still sent in the mqtt message (a service call is still made, frontend still calls the API)!!! In my opinion, this should not happen, and It seems to me that this needs to be corrected! I opened a similar issue here: https://github.com/home-assistant/core/issues/113956 There, to solve this problem, @jbouwh made a PR https://github.com/home-assistant/core/pull/114003 But as far as I understood @jbouwh, this is not enough, since "frontend needs a front end fix too, as it submits a command while the validation says it should not be possible" (https://github.com/home-assistant/core/issues/113956#issuecomment-2016430916), that's why @jbouwh advised me to open this issue here... Please help me with solving this problem!
Describe the behavior you expected
In my opinion, it should be like this: a message should appear similar to the one that appears when the entered value is less than the lower limit (variable min) or greater than the upper limit (variable max) - and at the same time the entered incorrect value should not be sent in the mqtt message...
Steps to reproduce the issue
1.Set some value for the "step" variable in the mqtt number settings (for example, 300) 2.Then, in the cell for entering the mqtt number value, enter a value that will not be a multiple of the value of the variable "step" (for example, 450) 3.After pressing the "enter" key (or simply after exiting the cell by selecting any other interface element), we observe the sending of an incorrect value in the mqtt message
What version of Home Assistant Core has the issue?
core-2024.3.3
What was the last working version of Home Assistant Core?
This behavior is also observed in all previous versions
In which browser are you experiencing the issue with?
No response
Which operating system are you using to run this browser?
No response
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Unfortunately, the problems I have described still exist... I hope that competent people will still have the time and desire to fix this... In this regard, please do not close this issue and do not mark it as stale...
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Unfortunately, the problems I have described still exist... Apparently, there are no plans to change (improve) anything... In this regard, if necessary, you can close this issue...
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
As far as I understand, some serious efforts are being made to solve this problem... Therefore, it is probably too early to close this issue...
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
It's probably worth waiting a little longer...
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.