Add set_program service action to miele (#38670)

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Åke Strandberg 2025-07-23 11:07:26 +02:00 committed by GitHub
parent cd1f4d97cd
commit c15a73a6a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -186,6 +186,18 @@ Climate entities are used to control target temperatures in refrigerators, freez
- **Robot vacuum cleaner**: Miele robot vacuum cleaners can be monitored and controlled to a limited extent. The device can be started, stopped, and paused. The fan speed can also be set. - **Robot vacuum cleaner**: Miele robot vacuum cleaners can be monitored and controlled to a limited extent. The device can be started, stopped, and paused. The fan speed can also be set.
{% enddetails %} {% enddetails %}
## Actions
### Action `miele.set_program`
Set and start a program for applicable appliances. Note that the device must be in a state where it will accept a new program, for example, most washing machines must be in state `on` and many appliances must be set manually to 'MobileStart' or 'MobileControl' in advance. An error message is displayed if the device did not accept the action command.
The action can be set up by UI in Automations editor. It can also be executed in Developer tools.
| Data attribute | Optional | Description |
| -------------- | -------- | ----------------------------------------------------------------------------------------------------------------- |
| `device_id` | no | Select device in GUI mode, then switch to YAML mode to see the device_id. |
| `program_id` | no | Enter the program_id number. The easiest way to find the number is to fetch a diagnostic download while running the actual program. Use the value from the key `state.programId.value_raw`.|
## Automation examples ## Automation examples
Get started with these automation examples Get started with these automation examples