adaptive-lighting: User input malformed

Version information:

1.0.14 HA core-2021.11.0b2

Description:

This is from console:

POST https://HOST/api/config/config_entries/options/flow/795dd180c8ba4de585a5d8ad13c29162 400
I @ styles.ts:365
(anonymous) @ styles.ts:365
callApi @ styles.ts:365
s @ ha-card.ts:5
value @ step-flow-form.ts:69
handleEvent @ styles.ts:365

This is the POST payload:

{lights: ["21"], prefer_rgb_color: false, initial_transition: 1, transition: 45, interval: 90,…}
detect_non_ha_changes: true
initial_transition: 1
interval: 90
lights: ["21"]
0: "21"
max_brightness: 100
max_color_temp: 5500
min_brightness: 1
min_color_temp: 2000
only_once: false
prefer_rgb_color: false
separate_turn_on_commands: false
sleep_brightness: 1
sleep_color_temp: 1000
sunrise_offset: 0
sunrise_time: "None"
sunset_offset: 0
sunset_time: "None"
take_over_control: true
transition: 45

Which returns:

{"message": "User input malformed"}

Hope I’ve provided enogh information, if not, please feel free to ask.

Thanks Andrea

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 3
  • Comments: 33 (3 by maintainers)

Commits related to this issue

Most upvoted comments

Great, a fix has just been merged by @bramkragten, I imagine it will make it to the next patch release.

I have looked into it, but cannot figure out what changed. Even HomeKit is generating these errors: https://community.home-assistant.io/t/homekit-error-user-input-malformed/353390

I opened #10608 for that. Yes, I think it’s a different problem that is partially related

After upgrading to Home Assistant 2021.11.3, it seems to work again.

So it seems to be something related to how the data payload is sent? Should be dictionary but it is list instead?

Yep, I believe so @sambarlick