Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

"start_program" does not work with example data #130

Open
asev opened this issue Jul 12, 2021 · 1 comment
Open

"start_program" does not work with example data #130

asev opened this issue Jul 12, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@asev
Copy link

asev commented Jul 12, 2021

I get this error: expected a list for dictionary value @ data['options']. Got None

Example data should look like this

service: home_connect_beta.start_program
data:
  entity_id: switch.dishwasher_power
  program: Dishcare.Dishwasher.Program.Auto2
  options:
    - key: BSH.Common.Option.StartInRelative
      value: 1800
      unit: seconds

instead of

service: home_connect_beta.start_program
data:
  entity_id: switch.dishwasher_power
  program: Dishcare.Dishwasher.Program.Auto2
  option_key: BSH.Common.Option.StartInRelative
  option_value: 1800
  option_unit: seconds
@DavidMStraub DavidMStraub added the bug Something isn't working label Jul 13, 2021
@DavidMStraub
Copy link
Owner

Right! Would be grateful for a PR!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants