Skip to content

Commit

Permalink
add missing await and update docs with my own devices
Browse files Browse the repository at this point in the history
  • Loading branch information
siku2 committed Sep 16, 2023
1 parent d7f1d96 commit 5669166
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/vzug/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ async def aggregate_config(self) -> AggConfig:
category_keys = await self.list_categories()
config_tree: AggConfig = {}
for category_key in category_keys:
category_raw, command_keys = asyncio.gather(
category_raw, command_keys = await asyncio.gather(
self.get_category(category_key),
self.list_commands(category_key),
)
Expand Down
8 changes: 8 additions & 0 deletions docs/api_versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@
- Doesn't have the `alterable` key in commands. All commands are alterable by default.
- Returns `null` instead of an empty list for `getCategories` when there are no categories.
- `getUpdateStatus` isn't supported.

## 1.7.0

This is the version the devices I own are using. As such, I am using this as the baseline.

## 1.8.0

Somehow this my AdoraDish device reports both 1.7.0 and 1.8.0 depending on the endpoint that I use...
184 changes: 184 additions & 0 deletions docs/programs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,189 @@
# Programs

## AdoraDish V6000 (AS6TDI)

- 50 - "Eco"

<details>
<summary>Example Response</summary>

```json
{
"id": 52,
"name": "Alltag Kurz",
"status": "selected",
"starttime": {
"min": 0,
"max": 86400,
"step": 600
},
"duration": {
"set": 2460
},
"energySaving": {
"set": false,
"options": [
true,
false
]
},
"optiStart": {
"set": false
},
"steamfinish": {
"set": false,
"options": [
true,
false
]
},
"partialload": {
"set": false,
"options": [
true,
false
]
},
"rinsePlus": {
"set": false,
"options": [
true,
false
]
},
"dryPlus": {
"set": false,
"options": [
true,
false
]
},
"stepIds": [
82,
81,
82,
79,
78,
76,
73,
74,
75,
72,
71,
70
]
}
```

</details>

- 51
- 52 - "Alltag Kurz"

<details>
<summary>Example Response</summary>

```json
{
"id": 50,
"name": "Eco",
"status": "selected",
"starttime": {
"min": 0,
"max": 86400,
"step": 600
},
"duration": {
"set": 22440
},
"energySaving": {
"set": false,
"options": [
true,
false
]
},
"optiStart": {
"set": false
},
"steamfinish": {
"set": true,
"options": [
true,
false
]
},
"partialload": {
"set": false,
"options": [
true,
false
]
},
"rinsePlus": {
"set": false,
"options": [
true,
false
]
},
"dryPlus": {
"set": false,
"options": [
true,
false
]
},
"stepIds": [
79,
81,
79,
78,
74,
75,
72,
70
]
}
```

</details>

- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61

## AdoraWash V6000 (AW6T)

- 3000
- 3001
- 3002
- 3003
- 3004
- 3005
- 3006
- 3007
- 3008
- 3009
- 3010
- 3011
- 3012
- 3013
- 3014
- 3015
- 3016
- 3017
- 3018
- 3019
- 3020
- 3021

## Combi-Steam XSL (CSTXSLF)

- 4
Expand Down

0 comments on commit 5669166

Please sign in to comment.