frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Threshold limits must be filled in and deleted to allow saved empty field

Open AndersWestman opened this issue 2 years ago • 1 comments

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

  1. Create a Threshold Sensor Helper with upper or lower limit empty
  2. 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

AndersWestman avatar Jul 26 '22 10:07 AndersWestman

I confirm the issue

straybiker avatar Aug 01 '22 20:08 straybiker

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.

github-actions[bot] avatar Oct 30 '22 21:10 github-actions[bot]