DavidMStraub / homeassistant-homeconnect

Custom component for Home Assistant to connect appliances supporting the Home Connect standard
MIT License
118 stars 29 forks source link

"start_program" does not work with example data #130

Open asev opened 3 years ago

asev commented 3 years ago

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 commented 3 years ago

Right! Would be grateful for a PR!