Error "expected str" after fixing any issue in the data while creating a new Target Rate #863
Closed
2 tasks done
Labels
bug
Something isn't working
Describe the bug
After making any mistake while introducing data on the screen and clicking submit, like in this example:
Even after fixing the issue the screen keeps returning the error "expected str", which is confusing as the data is already correct:
After closing the screen and adding the same data again the Target Rate is created, which means the data is correct.
Reproduction steps
Expected behaviour
If the data is correct the target rate should be created. It seems when the first error is returned the screen changes the behaviour and expects a string in the hours field instead of a number
Tariff Code
E-1R-AGILE-24-04-03-B
Integration Version
10.3.1
Home Assistant Version
2024.5.1
Fresh Install?
Not specified
Home Assistant Logs
N/A
Confirmation
The text was updated successfully, but these errors were encountered: