HomeAssistant-Mods / home-assistant-miele

Miele integration for Home assistant
142 stars 30 forks source link

Add programs service #133

Closed bertvansteen closed 1 year ago

bertvansteen commented 1 year ago

Sorry, I made this PR by accident while trying to make my own fork visible in HA for testing. My dishwasher does not start with the actions service but can be started via the programs endpoint. I could create a PR (starting from the dev branch?) when the integration is working and there is interest from the community.

florie1706 commented 1 year ago

I tried it, but I did not get it to run with my dishwasher. Any hints?

bertvansteen commented 1 year ago

This automation turns on my and starts my Miele G 7362 SC Vi AutoDos dishwasher. The state of "remote start sensor control" (next to the on/of button) should be ON.

It takes about a minute before it actually starts, I have not tried it with removing or reducing the delay.,

alias: Miele - Start ECO
description: ""
trigger: []
condition: []
action:
  - service: miele.action
    data:
      entity_id: miele.dishwasher
      body:
        powerOn: 1
    alias: Turn on dishwasher
  - delay:
      hours: 0
      minutes: 0
      seconds: 20
      milliseconds: 0
  - service: miele.program
    data:
      entity_id: miele.dishwasher
      body:
        programId: 3
    alias: Start Miele ECO program
mode: single