Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"User input malformed" when re-configuring interation #150

Closed
felix63 opened this issue Nov 5, 2021 · 10 comments
Closed

"User input malformed" when re-configuring interation #150

felix63 opened this issue Nov 5, 2021 · 10 comments
Labels
bug Something isn't working needs-triage Needs investigation to figure out how to repro/solve

Comments

@felix63
Copy link

felix63 commented Nov 5, 2021

Can not edit options anymore since upgrading to core-2021.11.0. Multi-selects specifically doesn't work. Gives 'User input malformed'. Similar issue in other custom integrations, see https://github.com/basnijholt/adaptive-lighting/issues/213

Schermafbeelding 2021-11-05 om 01 01 52

System Health

version core-2021.11.0
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.11.0-37-generic
arch x86_64
timezone Europe/Amsterdam
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 4747
Installed Version 1.16.0
Stage running
Available Repositories 889
Installed Repositories 41
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud failed to load: timeout
Lovelace
dashboards 5
resources 28
views 22
mode storage
Spotify
api_endpoint_reachable ok
@jseidl
Copy link
Owner

jseidl commented Nov 7, 2021

Yeah that's pretty unfortunate. Also some multi-selects became checkboxes... sigh... will work on this issue this Sunday.

@jseidl
Copy link
Owner

jseidl commented Nov 7, 2021

        vol.Optional(
            CONF_PRESENCE_DEVICE_PLATFORMS,
            default=DEFAULT_PRESENCE_DEVICE_PLATFORMS,
        ): cv.ensure_list,
        vol.Optional(
            CONF_PRESENCE_SENSOR_DEVICE_CLASS,
            default=DEFAULT_PRESENCE_DEVICE_SENSOR_CLASS,
        ): cv.ensure_list,

These two options are declared the same way and one renders as checkboxes and one as a multi select 🤷

@jseidl jseidl added bug Something isn't working needs-triage Needs investigation to figure out how to repro/solve labels Nov 7, 2021
@felix63
Copy link
Author

felix63 commented Nov 7, 2021 via email

@jseidl
Copy link
Owner

jseidl commented Nov 8, 2021

Hmmm, possibly. That sucks, the config menu will be a mess... sigh. Still investigating this issue.

@felix63
Copy link
Author

felix63 commented Nov 8, 2021

Is related to home-assistant/frontend#10567 (comment)

@jseidl
Copy link
Owner

jseidl commented Nov 12, 2021

Seems to be resolved in latest HA Frontend update. Still would prefer a way to enforce selects instead of checkboxes.

@jseidl
Copy link
Owner

jseidl commented Nov 12, 2021

Spoke too soon. Worked when I first updated but now it's giving me the same error when I'm trying to update areas.

@jseidl
Copy link
Owner

jseidl commented Nov 13, 2021

Weird thing if you delete the area, restart and configure the area, it works fine. If you try to re-configure the area, it gives User Input Malformed. Need to dig further.

@jseidl jseidl changed the title User input malformed "User input malformed" when re-configuring interation Nov 13, 2021
@jseidl
Copy link
Owner

jseidl commented Nov 13, 2021

Original bug seems to be partially fixed. Remainder seems related to home-assistant/frontend#10608

@felix63
Copy link
Author

felix63 commented Nov 18, 2021

Closing this one as it is being fixed frontend.

@felix63 felix63 closed this as completed Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Needs investigation to figure out how to repro/solve
Projects
None yet
Development

No branches or pull requests

2 participants