Skip to content

Commit d9ebda4

Browse files
astrandbfrenck
authored andcommitted
Add missing boost2 code for Miele hobs (home-assistant#150481)
1 parent 8f94657 commit d9ebda4

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

homeassistant/components/miele/const.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,4 +1330,5 @@ class PlatePowerStep(MieleEnum):
13301330
plate_step_17 = 17
13311331
plate_step_18 = 18
13321332
plate_step_boost = 117, 118, 218
1333+
plate_step_boost_2 = 217
13331334
missing2none = -9999

homeassistant/components/miele/icons.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@
7676
"plate_step_16": "mdi:circle-slice-7",
7777
"plate_step_17": "mdi:circle-slice-8",
7878
"plate_step_18": "mdi:circle-slice-8",
79-
"plate_step_boost": "mdi:alpha-b-circle-outline"
79+
"plate_step_boost": "mdi:alpha-b-circle-outline",
80+
"plate_step_boost_2": "mdi:alpha-b-circle"
8081
}
8182
},
8283
"program_type": {

homeassistant/components/miele/strings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@
223223
"plate_step_16": "8\u2022",
224224
"plate_step_17": "9",
225225
"plate_step_18": "9\u2022",
226-
"plate_step_boost": "Boost"
226+
"plate_step_boost": "Boost",
227+
"plate_step_boost_2": "Boost 2"
227228
}
228229
},
229230
"drying_step": {

tests/components/miele/snapshots/test_sensor.ambr

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@
208208
'plate_step_8',
209209
'plate_step_9',
210210
'plate_step_boost',
211+
'plate_step_boost_2',
211212
'plate_step_warming',
212213
]),
213214
}),
@@ -266,6 +267,7 @@
266267
'plate_step_8',
267268
'plate_step_9',
268269
'plate_step_boost',
270+
'plate_step_boost_2',
269271
'plate_step_warming',
270272
]),
271273
}),
@@ -304,6 +306,7 @@
304306
'plate_step_8',
305307
'plate_step_9',
306308
'plate_step_boost',
309+
'plate_step_boost_2',
307310
'plate_step_warming',
308311
]),
309312
}),
@@ -362,6 +365,7 @@
362365
'plate_step_8',
363366
'plate_step_9',
364367
'plate_step_boost',
368+
'plate_step_boost_2',
365369
'plate_step_warming',
366370
]),
367371
}),
@@ -400,6 +404,7 @@
400404
'plate_step_8',
401405
'plate_step_9',
402406
'plate_step_boost',
407+
'plate_step_boost_2',
403408
'plate_step_warming',
404409
]),
405410
}),
@@ -458,6 +463,7 @@
458463
'plate_step_8',
459464
'plate_step_9',
460465
'plate_step_boost',
466+
'plate_step_boost_2',
461467
'plate_step_warming',
462468
]),
463469
}),
@@ -496,6 +502,7 @@
496502
'plate_step_8',
497503
'plate_step_9',
498504
'plate_step_boost',
505+
'plate_step_boost_2',
499506
'plate_step_warming',
500507
]),
501508
}),
@@ -554,6 +561,7 @@
554561
'plate_step_8',
555562
'plate_step_9',
556563
'plate_step_boost',
564+
'plate_step_boost_2',
557565
'plate_step_warming',
558566
]),
559567
}),
@@ -592,6 +600,7 @@
592600
'plate_step_8',
593601
'plate_step_9',
594602
'plate_step_boost',
603+
'plate_step_boost_2',
595604
'plate_step_warming',
596605
]),
597606
}),
@@ -650,6 +659,7 @@
650659
'plate_step_8',
651660
'plate_step_9',
652661
'plate_step_boost',
662+
'plate_step_boost_2',
653663
'plate_step_warming',
654664
]),
655665
}),
@@ -688,6 +698,7 @@
688698
'plate_step_8',
689699
'plate_step_9',
690700
'plate_step_boost',
701+
'plate_step_boost_2',
691702
'plate_step_warming',
692703
]),
693704
}),
@@ -746,6 +757,7 @@
746757
'plate_step_8',
747758
'plate_step_9',
748759
'plate_step_boost',
760+
'plate_step_boost_2',
749761
'plate_step_warming',
750762
]),
751763
}),
@@ -784,6 +796,7 @@
784796
'plate_step_8',
785797
'plate_step_9',
786798
'plate_step_boost',
799+
'plate_step_boost_2',
787800
'plate_step_warming',
788801
]),
789802
}),
@@ -842,6 +855,7 @@
842855
'plate_step_8',
843856
'plate_step_9',
844857
'plate_step_boost',
858+
'plate_step_boost_2',
845859
'plate_step_warming',
846860
]),
847861
}),
@@ -880,6 +894,7 @@
880894
'plate_step_8',
881895
'plate_step_9',
882896
'plate_step_boost',
897+
'plate_step_boost_2',
883898
'plate_step_warming',
884899
]),
885900
}),
@@ -938,6 +953,7 @@
938953
'plate_step_8',
939954
'plate_step_9',
940955
'plate_step_boost',
956+
'plate_step_boost_2',
941957
'plate_step_warming',
942958
]),
943959
}),
@@ -976,6 +992,7 @@
976992
'plate_step_8',
977993
'plate_step_9',
978994
'plate_step_boost',
995+
'plate_step_boost_2',
979996
'plate_step_warming',
980997
]),
981998
}),
@@ -1034,6 +1051,7 @@
10341051
'plate_step_8',
10351052
'plate_step_9',
10361053
'plate_step_boost',
1054+
'plate_step_boost_2',
10371055
'plate_step_warming',
10381056
]),
10391057
}),
@@ -1457,6 +1475,7 @@
14571475
'plate_step_8',
14581476
'plate_step_9',
14591477
'plate_step_boost',
1478+
'plate_step_boost_2',
14601479
'plate_step_warming',
14611480
]),
14621481
}),
@@ -1515,6 +1534,7 @@
15151534
'plate_step_8',
15161535
'plate_step_9',
15171536
'plate_step_boost',
1537+
'plate_step_boost_2',
15181538
'plate_step_warming',
15191539
]),
15201540
}),
@@ -1553,6 +1573,7 @@
15531573
'plate_step_8',
15541574
'plate_step_9',
15551575
'plate_step_boost',
1576+
'plate_step_boost_2',
15561577
'plate_step_warming',
15571578
]),
15581579
}),
@@ -1611,6 +1632,7 @@
16111632
'plate_step_8',
16121633
'plate_step_9',
16131634
'plate_step_boost',
1635+
'plate_step_boost_2',
16141636
'plate_step_warming',
16151637
]),
16161638
}),
@@ -1649,6 +1671,7 @@
16491671
'plate_step_8',
16501672
'plate_step_9',
16511673
'plate_step_boost',
1674+
'plate_step_boost_2',
16521675
'plate_step_warming',
16531676
]),
16541677
}),
@@ -1707,6 +1730,7 @@
17071730
'plate_step_8',
17081731
'plate_step_9',
17091732
'plate_step_boost',
1733+
'plate_step_boost_2',
17101734
'plate_step_warming',
17111735
]),
17121736
}),
@@ -1745,6 +1769,7 @@
17451769
'plate_step_8',
17461770
'plate_step_9',
17471771
'plate_step_boost',
1772+
'plate_step_boost_2',
17481773
'plate_step_warming',
17491774
]),
17501775
}),
@@ -1803,6 +1828,7 @@
18031828
'plate_step_8',
18041829
'plate_step_9',
18051830
'plate_step_boost',
1831+
'plate_step_boost_2',
18061832
'plate_step_warming',
18071833
]),
18081834
}),
@@ -1841,6 +1867,7 @@
18411867
'plate_step_8',
18421868
'plate_step_9',
18431869
'plate_step_boost',
1870+
'plate_step_boost_2',
18441871
'plate_step_warming',
18451872
]),
18461873
}),
@@ -1899,6 +1926,7 @@
18991926
'plate_step_8',
19001927
'plate_step_9',
19011928
'plate_step_boost',
1929+
'plate_step_boost_2',
19021930
'plate_step_warming',
19031931
]),
19041932
}),

0 commit comments

Comments
 (0)