frontend
frontend copied to clipboard
Threshold limits must be filled in and deleted to allow saved empty field
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.
Describe the issue you are experiencing
To be able to edit and save a Threshold Sensor Helper in UI with one of the upper or lower limits emtey, the field must be filled with something and then deleted to be allowed to save the settings with a empty field.
If the field was already empty, the error "User input malformed: expected float for dictionary value @ data['upper']" is showed when tried to save.
Describe the behavior you expected
Saving the settings for a Threshold Sensor Helper with upper or lower limit empty should be possible without edit and delete the value.
Steps to reproduce the issue
- Create a Threshold Sensor Helper with upper or lower limit empty
- Edit the sensor and save without touching the empty field
...
What version of Home Assistant Core has the issue?
2022.7.6
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Chrome 103.0.5060.114 and HA-app on Android
Which operating system are you using to run this browser?
Windows 10 / Android HA-app
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
I confirm the 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.