Skip to content

Commit 758a30e

Browse files
authored
Add code mappings for Miele WQ1000 (home-assistant#157642)
1 parent faf94be commit 758a30e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

homeassistant/components/miele/const.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,14 @@ class ProgramPhaseWashingMachine(MieleEnum, missing_to_none=True):
174174
not_running = 0, 256, 65535
175175
pre_wash = 257, 259
176176
soak = 258
177-
main_wash = 260
178-
rinse = 261
177+
main_wash = 260, 11004
178+
rinse = 261, 11005
179179
rinse_hold = 262
180180
cleaning = 263
181181
cooling_down = 264
182182
drain = 265
183-
spin = 266
184-
anti_crease = 267
183+
spin = 266, 11010
184+
anti_crease = 267, 11029
185185
finished = 268
186186
venting = 269
187187
starch_stop = 270
@@ -483,6 +483,7 @@ class WashingMachineProgramId(MieleEnum, missing_to_none=True):
483483
cottons_eco = 133
484484
quick_power_wash = 146
485485
eco_40_60 = 190
486+
normal = 10001
486487

487488

488489
class DishWasherProgramId(MieleEnum, missing_to_none=True):

tests/components/miele/snapshots/test_sensor.ambr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4159,6 +4159,7 @@
41594159
'freshen_up',
41604160
'minimum_iron',
41614161
'no_program',
4162+
'normal',
41624163
'outerwear',
41634164
'pillows',
41644165
'proofing',
@@ -4230,6 +4231,7 @@
42304231
'freshen_up',
42314232
'minimum_iron',
42324233
'no_program',
4234+
'normal',
42334235
'outerwear',
42344236
'pillows',
42354237
'proofing',
@@ -6503,6 +6505,7 @@
65036505
'freshen_up',
65046506
'minimum_iron',
65056507
'no_program',
6508+
'normal',
65066509
'outerwear',
65076510
'pillows',
65086511
'proofing',
@@ -6574,6 +6577,7 @@
65746577
'freshen_up',
65756578
'minimum_iron',
65766579
'no_program',
6580+
'normal',
65776581
'outerwear',
65786582
'pillows',
65796583
'proofing',

0 commit comments

Comments
 (0)