Home-Assistant-Mail-And-Packages: ISSUE: amazon_fwd returns "value should be a string" on existing valid entry

Describe the bug When reconfiguring the plugin, the first page worked fine but the second wouldn’t submit. The existing Amazon email address triggered an error. (It looked like it was objecting to the list, per screenshot, but the error is one field below.)

Making a noop edit to the existing email address allowed it to submit successfully.

Environment (please complete the following information):

  • OS: HassOS
  • Type of device: x64 vm
  • Home Assistant version: 2024.7.1
  • Hassio/Docker/Core?
  • Component version: 0.3.31

Logs value should be a string From the console: {"errors":{"amazon_fwds":"value should be a string"}}

Nothing in the HA logs.

Screenshots image

Additional context Thinking it was referring to the list, I toggled off each provider one at a time with no affect. Noop edit of the email address worked (add a space, remove a space, hit submit)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22

Most upvoted comments

0.4.0b8 should solve the missing forwards from the reconfigure.

I’m working on revising the validation portion as well as adding more tests.